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/single.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/single.html')
-rw-r--r-- | themes/xmin/layouts/_default/single.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/themes/xmin/layouts/_default/single.html b/themes/xmin/layouts/_default/single.html index 7da26d1..ba0e22a 100644 --- a/themes/xmin/layouts/_default/single.html +++ b/themes/xmin/layouts/_default/single.html @@ -4,12 +4,11 @@ <h1><span class="title p-name">{{ .Title | markdownify }}</span></h1> {{ if (gt .Params.date 0) }}<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "2006-01-02" }}</time>{{ end }} <p class="terms"> - {{ range $i := (slice "categories" "tags") }} - {{ with ($.Param $i) }} - {{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }} - {{ end }} - {{ end }} + {{- range $i := (slice "categories" "tags") }} + {{- with ($.Param $i) }} {{ $i | title }}: {{ range $k := . }}<a class="p-category" href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }} + {{- end }} + {{- end }} </p> </header> |