block global - var domain = 'https://kingajax.github.io/Spectre-Dark/' - var url = domain block variables - var slug = '' - var parent = '' - var title = 'Spectre.css - A Lightweight, Responsive and Modern CSS Framework' - var description = 'Spectre.css CSS Framework 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.' if slug == parent if slug == 'index' - var url = domain else - var url = domain + slug + '.html' else - var url = domain + parent + '/' + slug + '.html' 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) meta(name='author' content='Yan Zhu') meta(property='og:url' content= url) meta(property='og:title' content= title) meta(property='og:description' content= description) meta(name='twitter:card' content='summary') meta(name='twitter:site' content='@spectrecss') meta(name='twitter:creator' content='@picturepan2') if slug != parent 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') else 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') link(rel='canonical' href= url) body block content