diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..6757396 --- /dev/null +++ b/layouts/_default/baseof.html | |||
@@ -0,0 +1,31 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="{{ .Site.LanguageCode }}"> | ||
3 | <head profile="//gmpg.org/xfn/11"> | ||
4 | <meta charset="utf-8"> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
6 | <title>{{ .Title }} | {{ .Site.Title }}</title> | ||
7 | <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> | ||
8 | {{ range .AlternativeOutputFormats -}} | ||
9 | {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} | ||
10 | {{ end -}} | ||
11 | </head> | ||
12 | |||
13 | <body> | ||
14 | <nav> | ||
15 | <ul> | ||
16 | {{ range .Site.Menus.main }} | ||
17 | <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> | ||
18 | {{ end }} | ||
19 | </ul> | ||
20 | </nav> | ||
21 | |||
22 | {{ block "main" . }} | ||
23 | {{ end }} | ||
24 | |||
25 | <footer> | ||
26 | {{ with .Site.Params.footer }} | ||
27 | {{ . | markdownify }} | ||
28 | {{ end }} | ||
29 | </footer> | ||
30 | </body> | ||
31 | </html> | ||