about summary refs log tree commit diff stats
path: root/themes/xmin/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xmin/layouts/_default/baseof.html')
-rw-r--r--themes/xmin/layouts/_default/baseof.html14
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>