summaryrefslogtreecommitdiffstats
path: root/themes/xmin/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xmin/layouts/_default/single.html')
-rw-r--r--themes/xmin/layouts/_default/single.html9
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 @@
4 <h1><span class="title p-name">{{ .Title | markdownify }}</span></h1> 4 <h1><span class="title p-name">{{ .Title | markdownify }}</span></h1>
5 {{ if (gt .Params.date 0) }}<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "2006-01-02" }}</time>{{ end }} 5 {{ if (gt .Params.date 0) }}<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "2006-01-02" }}</time>{{ end }}
6 <p class="terms"> 6 <p class="terms">
7 {{ range $i := (slice "categories" "tags") }} 7 {{- range $i := (slice "categories" "tags") }}
8 {{ with ($.Param $i) }} 8 {{- with ($.Param $i) }}
9 {{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}
10 {{ end }}
11 {{ end }}
12 {{ $i | title }}: {{ range $k := . }}<a class="p-category" href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }} 9 {{ $i | title }}: {{ range $k := . }}<a class="p-category" href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}
10 {{- end }}
11 {{- end }}
13 </p> 12 </p>
14 </header> 13 </header>
15 14