From 26d3d62515b3911f6a3f87e6161b9491cb02d8de Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 14 Nov 2018 11:35:08 +0800 Subject: Add Hero layout #380 --- docs/src/_layout/_example-layout.pug | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/src/_layout/_example-layout.pug (limited to 'docs/src/_layout/_example-layout.pug') diff --git a/docs/src/_layout/_example-layout.pug b/docs/src/_layout/_example-layout.pug new file mode 100644 index 0000000..f74bc81 --- /dev/null +++ b/docs/src/_layout/_example-layout.pug @@ -0,0 +1,35 @@ +block variables + - var slug = '' + - var parent = '' + - var title = 'Spectre.css - A Lightweight, Responsive and Modern CSS Framework' + - var description = 'Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development. Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.' + +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='description' content= description) + 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 -- cgit v1.3.1-23-gd82d