forked from jtarchie/builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.html
37 lines (37 loc) · 1.17 KB
/
layout.html
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="description" content="{{.Description}}">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.classless.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/github.css"
integrity="sha256-+YP5+2/U/W/Ftf4q+/r0dlCXvZeQaY84PqgCyHsvyLg=" crossorigin="anonymous">
<title>{{.Doc.Title}}</title>
<style>
@media print {
nav {
display: none;
}
}
nav {
padding-left: var(--spacing);
padding-right: var(--spacing);
}
</style>
</head>
<body>
<nav>
<ul>
<li><a href="/"><span>Example site</span></a></li>
</ul>
<ul>
<li><a href="/posts" class="pseudo button">Blog</a></li>
</ul>
</nav>
<main class="content">
{{.RenderedPage}}
</main>
</body>
</html>