-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathhead.pug
More file actions
executable file
·37 lines (27 loc) · 1.35 KB
/
head.pug
File metadata and controls
executable file
·37 lines (27 loc) · 1.35 KB
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
title(itemprop="name")= (headTitle || title)
//- for mobile devices
meta(name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes, minimum-scale=1.0")
meta(name="apple-mobile-web-app-capable" content="yes")
script if (window.devicePixelRatio > 1) document.cookie = 'pixelRatio=' + window.devicePixelRatio + ';path=/;expires=Tue, 19 Jan 2038 03:14:07 GMT';
//- encode | as %7C to make HTML5 validator happy
link(href='//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700%7COpen+Sans+Condensed:700&subset=latin,latin-ext,cyrillic,cyrillic-ext' rel='stylesheet')
//- favicon apple touch
link(rel="apple-touch-icon-precomposed" href="/img/favicon/apple-touch-icon-precomposed.png")
link(rel="canonical" href=canonicalUrl)
//- IE10 Metro
meta(name="msapplication-TileColor" content="#222A2C")
meta(name="msapplication-TileImage" content="/img/favicon/tileicon.png")
// favicon the rest
link(rel="icon" href="/img/favicon/favicon.png")
meta(itemprop="image", content=(schema.titleImage || urlBase.main.href + "/img/logo_square.png"))
!=css("styles")
if prev
link(rel="prev" href=prev.url)
if next
link(rel="next" href=next.url)
if livereloadEnabled
script.
document.write('<script src="//' + location.host.split(':')[0] + ':35729/livereload.js"></' + 'script>')
!=js("head")
//- head из конкретной статьи
!=head