diff options
Diffstat (limited to 'themes/xmin/layouts/_default/baseof.html')
-rw-r--r-- | themes/xmin/layouts/_default/baseof.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/themes/xmin/layouts/_default/baseof.html b/themes/xmin/layouts/_default/baseof.html index 16332b8..1705460 100644 --- a/themes/xmin/layouts/_default/baseof.html +++ b/themes/xmin/layouts/_default/baseof.html | |||
@@ -5,17 +5,17 @@ | |||
5 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 | <title {{- if .Page.IsNode }} class="p-name"{{ end }}>{{ .Title }} | {{ .Site.Title }}</title> | 6 | <title {{- if .Page.IsNode }} class="p-name"{{ end }}>{{ .Title }} | {{ .Site.Title }}</title> |
7 | <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> | 7 | <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> |
8 | {{ range .AlternativeOutputFormats -}} | 8 | {{- range .AlternativeOutputFormats }} |
9 | {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} | 9 | {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} |
10 | {{ end -}} | 10 | {{- end }} |
11 | </head> | 11 | </head> |
12 | 12 | ||
13 | <body> | 13 | <body> |
14 | <nav> | 14 | <nav> |
15 | <ul> | 15 | <ul> |
16 | {{ range .Site.Menus.main }} | 16 | {{- range .Site.Menus.main }} |
17 | <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> | 17 | <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> |
18 | {{ end }} | 18 | {{- end }} |
19 | </ul> | 19 | </ul> |
20 | </nav> | 20 | </nav> |
21 | 21 | ||
@@ -23,9 +23,9 @@ | |||
23 | {{ end }} | 23 | {{ end }} |
24 | 24 | ||
25 | <footer> | 25 | <footer> |
26 | {{ with .Site.Params.footer }} | 26 | {{- with .Site.Params.footer }} |
27 | {{ . | markdownify }} | 27 | {{ . | markdownify }} |
28 | {{ end }} | 28 | {{- end }} |
29 | </footer> | 29 | </footer> |
30 | </body> | 30 | </body> |
31 | </html> | 31 | </html> |