2015-06-29 09:50:25 -07:00
|
|
|
doctype html
|
2018-01-08 11:59:13 -08:00
|
|
|
html(lang='en').full-size
|
2015-06-29 09:50:25 -07:00
|
|
|
head
|
2015-07-29 10:16:48 -07:00
|
|
|
if title
|
|
|
|
title= title
|
|
|
|
else
|
2017-01-11 01:29:38 -08:00
|
|
|
title freeCodeCamp
|
2015-10-30 12:55:13 -07:00
|
|
|
include partials/react-stylesheets
|
2018-01-08 11:59:13 -08:00
|
|
|
body.full-size
|
|
|
|
#fcc.full-size!= markup
|
2015-06-29 09:50:25 -07:00
|
|
|
script!= state
|
2016-05-31 14:32:26 -07:00
|
|
|
script.
|
|
|
|
window.webpackManifest = !{JSON.stringify(chunkManifest || {})};
|
2017-02-07 21:26:02 +00:00
|
|
|
(function setTheme() {
|
|
|
|
let fccTheme;
|
|
|
|
try {
|
|
|
|
fccTheme = JSON.parse(localStorage.getItem('fcc-theme'));
|
|
|
|
if (fccTheme && fccTheme === 'night') {
|
|
|
|
document.body.classList.add('night');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(e) {
|
|
|
|
fccTheme = null;
|
|
|
|
}
|
|
|
|
})();
|
2018-08-04 22:43:55 +01:00
|
|
|
script(src=cacheBreaker(rev('/js', 'client.js')))
|