diff options
author | Alan Pearce | 2020-01-11 19:17:28 +0100 |
---|---|---|
committer | Alan Pearce | 2020-01-11 19:17:28 +0100 |
commit | dee6336441b5da8a00344eb135040a2cb3a94dac (patch) | |
tree | c235b723d500605aea58dbc732f4584ceaa82d08 /themes/xmin/layouts/_default/baseof.html | |
parent | 508f604c012335027585245bbb3cf91a1cc373d7 (diff) | |
download | website-dee6336441b5da8a00344eb135040a2cb3a94dac.tar.lz website-dee6336441b5da8a00344eb135040a2cb3a94dac.tar.zst website-dee6336441b5da8a00344eb135040a2cb3a94dac.zip |
Cleanup whitespace in output
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 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title {{- if .Page.IsNode }} class="p-name"{{ end }}>{{ .Title }} | {{ .Site.Title }}</title> <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> - {{ range .AlternativeOutputFormats -}} - {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} - {{ end -}} + {{- range .AlternativeOutputFormats }} + {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} + {{- end }} </head> <body> <nav> <ul> - {{ range .Site.Menus.main }} + {{- range .Site.Menus.main }} <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> - {{ end }} + {{- end }} </ul> </nav> @@ -23,9 +23,9 @@ {{ end }} <footer> - {{ with .Site.Params.footer }} + {{- with .Site.Params.footer }} {{ . | markdownify }} - {{ end }} + {{- end }} </footer> </body> </html> |