diff options
Move Docs to Pug templates
1 files changed, 33 insertions, 0 deletions
| -rw-r--r-- | docs/src/_layout.pug | 33 |
diff --git a/docs/src/_layout.pug b/docs/src/_layout.pug new file mode 100644 index 0000000..ad32f32 --- /dev/null +++ b/docs/src/_layout.pug @@ -0,0 +1,33 @@ +block variables + - var title = 'Spectre.css - A Lightweight, Responsive and Modern CSS Framework' + - var description = '' + +doctype html +html(lang='en') + head + title= title + meta(charset='utf-8') + meta(name='robots' content='index, follow') + meta(name='viewport' content='width=device-width, initial-scale=1.0, shrink-to-fit=no') + meta(http-equiv='x-ua-compatible' content='ie=edge') + meta(name='author' content='Yan Zhu') + link(rel='shortcut icon' href='img/favicons/favicon.ico') + link(rel='icon' href='img/favicons/favicon.png') + link(rel='stylesheet' href='dist/spectre.min.css') + link(rel='stylesheet' href='dist/spectre-icons.min.css') + link(rel='stylesheet' href='dist/spectre-exp.min.css') + link(rel='stylesheet' href='dist/docs.min.css') + + body + block content + + script. + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-2702768-8', 'auto'); + ga('send', 'pageview'); + +
\ No newline at end of file |