-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.pug
49 lines (41 loc) 路 1.25 KB
/
default.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
49
- var siteTitle = "Site title";
- var siteDescription = "Site description";
- var baseUrl = "https://site-url.com";
- var pageTitle = "";
- var bodyClass = "";
block vars
doctype html
html(lang="en")
head
meta(charset="UTF-8")
meta(name="description", content=siteDescription)
meta(name="viewport", content="width=device-width, initial-scale=1")
title= pageTitle + " - " + siteTitle
//- OG meta tags
meta(property="og:type", content="website")
meta(property="og:title", content=siteTitle)
meta(property="og:description", content=siteDescription)
meta(property="og:image", content=baseUrl + "/images/og-image.jpg")
meta(property="og:url", content=baseUrl)
link(href="css/style.css" + assetVersion, rel="stylesheet")
link(rel="icon", type="image/x-icon", href="/images/favicon.ico")
body(class=bodyClass)
// Wrapper
.wrapper
// Header
header.header
.container
nav
ul
li
a(href="/") Home
li
a(href="page.html") Page
p Hello there
//- Main
block content
// Footer
footer.footer
.container
p Footer information
script(src="js/scripts.js" + assetVersion)