Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / _layout / _layout.pug
diff options
context:
space:
mode:
Commitf224b45928ebe0241bf6a37a0ee332f74b853b19 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-11-25 13:07:56 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-11-25 13:07:56 +0800
Filesdcd3352e09a50f24d709bde52a1447c12855f8e1 /docs/src/_layout/_layout.pug
Spectre-Dark-Gruvbox-f224b45928ebe0241bf6a37a0ee332f74b853b19.tar
Spectre-Dark-Gruvbox-f224b45928ebe0241bf6a37a0ee332f74b853b19.tar.gz
Spectre-Dark-Gruvbox-f224b45928ebe0241bf6a37a0ee332f74b853b19.zip
Parent81ee834ec6914f8b284e0724d541ed927513e6bd (diff)
Update Docs SEO
1 files changed, 7 insertions, 1 deletions
-rw-r--r--docs/src/_layout/_layout.pug8
diff --git a/docs/src/_layout/_layout.pug b/docs/src/_layout/_layout.pug
index 6eb2e38..676bda5 100644
--- a/docs/src/_layout/_layout.pug
+++ b/docs/src/_layout/_layout.pug
@@ -6,7 +6,7 @@ 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.'
+ - 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'
@@ -26,6 +26,12 @@ html(lang='en')
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')