Merge pull request #3222 from QuincyLarson/meta
Update Meta tags for Facebook scraping
This commit is contained in:
@ -1,10 +1,11 @@
|
|||||||
doctype html
|
doctype html
|
||||||
html(ng-app='profileValidation', lang='en')
|
html(ng-app='profileValidation', lang='en')
|
||||||
head
|
head
|
||||||
include partials/universal-head
|
include partials/meta
|
||||||
|
include partials/stylesheets
|
||||||
body.no-top-and-bottom-margins.full-screen-body-background
|
body.no-top-and-bottom-margins.full-screen-body-background
|
||||||
|
include partials/scripts
|
||||||
include partials/navbar
|
include partials/navbar
|
||||||
include partials/flash
|
include partials/flash
|
||||||
block content
|
block content
|
||||||
include partials/footer
|
include partials/footer
|
||||||
include partials/universal-tail
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
doctype html
|
doctype html
|
||||||
html(ng-app='profileValidation', lang='en')
|
html(ng-app='profileValidation', lang='en')
|
||||||
head
|
head
|
||||||
|
include partials/meta
|
||||||
|
include partials/stylesheets
|
||||||
body.top-and-bottom-margins
|
body.top-and-bottom-margins
|
||||||
include partials/universal-head
|
include partials/scripts
|
||||||
include partials/navbar
|
include partials/navbar
|
||||||
.container
|
.container
|
||||||
include partials/flash
|
include partials/flash
|
||||||
block content
|
block content
|
||||||
include partials/footer
|
include partials/footer
|
||||||
include partials/universal-tail
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
meta(charset='utf-8')
|
||||||
|
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
||||||
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
||||||
|
meta(name='csrf-token', content=_csrf)
|
||||||
|
title #{title} | Free Code Camp
|
||||||
link(rel='canonical', href='http://freecodecamp.com')
|
link(rel='canonical', href='http://freecodecamp.com')
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
||||||
|
@ -1,18 +1,3 @@
|
|||||||
link(rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato:400|Inconsolata")
|
|
||||||
|
|
||||||
link(rel="stylesheet" type="text/css" href="/bower_components/cal-heatmap/cal-heatmap.css")
|
|
||||||
|
|
||||||
link(rel='stylesheet', href='/bower_components/font-awesome/css/font-awesome.min.css')
|
|
||||||
|
|
||||||
link(rel='stylesheet', href=rev('/css', 'main.css'))
|
|
||||||
// End **REQUIRED** includes
|
|
||||||
|
|
||||||
include meta
|
|
||||||
title #{title} | Free Code Camp
|
|
||||||
meta(charset='utf-8')
|
|
||||||
meta(http-equiv='X-UA-Compatible', content='IE=edge')
|
|
||||||
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
|
||||||
meta(name='csrf-token', content=_csrf)
|
|
||||||
script(src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js")
|
script(src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js")
|
||||||
script.
|
script.
|
||||||
window.jQuery || document.write('<script src="/bower_components/jquery/dist/jquery.min.js"><\/script>');
|
window.jQuery || document.write('<script src="/bower_components/jquery/dist/jquery.min.js"><\/script>');
|
||||||
@ -51,19 +36,3 @@ script.
|
|||||||
ga('create', 'UA-55446531-1', 'auto');
|
ga('create', 'UA-55446531-1', 'auto');
|
||||||
ga('require', 'displayfeatures');
|
ga('require', 'displayfeatures');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
script#inspectletjs(type='text/javascript').
|
|
||||||
window.__insp = window.__insp || [];
|
|
||||||
__insp.push(['wid', 561999918]);
|
|
||||||
(function() {
|
|
||||||
function __ldinsp() {
|
|
||||||
var insp = document.createElement('script');
|
|
||||||
insp.type = 'text/javascript';
|
|
||||||
insp.async = true;
|
|
||||||
insp.id = "inspsync";
|
|
||||||
insp.src = '//cdn.inspectlet.com/inspectlet.js';
|
|
||||||
var x = document.getElementsByTagName('script')[0];
|
|
||||||
x.parentNode.insertBefore(insp, x);
|
|
||||||
}
|
|
||||||
if (window.attachEvent) window.attachEvent('onload', __ldinsp);
|
|
||||||
else window.addEventListener('load', __ldinsp, false);
|
|
||||||
})();
|
|
4
server/views/partials/stylesheets.jade
Normal file
4
server/views/partials/stylesheets.jade
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
link(rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato:400|Inconsolata")
|
||||||
|
link(rel="stylesheet" type="text/css" href="/bower_components/cal-heatmap/cal-heatmap.css")
|
||||||
|
link(rel='stylesheet', href='/bower_components/font-awesome/css/font-awesome.min.css')
|
||||||
|
link(rel='stylesheet', href=rev('/css', 'main.css'))
|
Reference in New Issue
Block a user