Whitespace fixes

This commit is contained in:
Ask Bjørn Hansen 2020-04-18 23:44:00 -07:00
parent e649063146
commit 98d08f23b8
3 changed files with 14 additions and 14 deletions

View File

@ -20,12 +20,12 @@
</div>
<div class="markdown">
{{ .Content }}
{{- .Content }}
</div>
<div class="post-tags">
{{ if ne .Type "page" }}
{{ if gt .Params.tags 0 }}
{{- if ne .Type "page" }}
{{- if gt .Params.tags 0 }}
<nav class="nav tags">
<ul class="flat">
{{ range .Params.tags }}
@ -33,8 +33,8 @@
{{ end }}
</ul>
</nav>
{{ end }}
{{ end }}
{{- end }}
{{- end }}
</div>
{{- $.Scratch.Set "isDisqus" true -}}

View File

@ -1,14 +1,14 @@
<div class="footer wrapper">
<nav class="nav">
{{ if .Page.Lastmod }}
{{- if .Page.Lastmod }}
Last updated {{ .Page.Lastmod.Format "January 2, 2006" }}
{{ end }}
{{- end }}
{{ if .Site.Copyright }}
{{- if .Site.Copyright }}
<div>{{ with .Site.Copyright }} {{ . }} | {{ end }}
<a href="https://github.com/vividvilla/ezhil">Ezhil theme</a> | Built with <a
href="https://gohugo.io">Hugo</a></div>
{{ end }}
{{- end }}
</nav>
</div>

View File

@ -20,13 +20,13 @@
<nav class="nav">
<ul class="flat">
{{ $current := .RelPermalink }}
{{ range .Site.Menus.main }}
{{ if ne .URL $current }}
{{- range .Site.Menus.main }}
{{- if ne .URL $current }}
<li>
<a href="{{ .URL }}">{{ .Name }}</code></a>
<a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{end}}
{{ end }}
{{- end -}}
{{- end }}
</ul>
</nav>
</div>