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

View File

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

View File

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