-
-
Notifications
You must be signed in to change notification settings - Fork 108
/
layout.pug
48 lines (37 loc) · 1.18 KB
/
layout.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
doctype
html(lang=lang)
head
if base
base(href=base)
if title
title= title
meta(property="og:title", content=title)
if image
meta(property="og:image:alt", content=title)
if author
meta(name="author", content=author)
meta(property="article:author", content=author)
if description
meta(name="description", content=description)
meta(property="og:description", content=description)
if keywords && keywords.length > 1
meta(name="keywords", content=keywords.join(','))
if url
link(rel="canonical", href=url)
meta(property="og:url", content=url)
if image
meta(property="og:image", content=image)
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width,height=device-height,initial-scale=1.0")
meta(name="apple-mobile-web-app-capable", content="yes")
meta(http-equiv="X-UA-Compatible", content="ie=edge")
meta(property="og:type", content="website")
meta(name="twitter:card", content=title && image ? "summary_large_image" : "summary")
block head
style!= css
body
block deck
!= html
block script
if watchJs
script!= watchJs