diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cb76f1a..cf7bb07 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,6 +10,15 @@ <div class="content"> <h1>{{ .Title | markdownify }}</h1> </div> + <div class="info"> + <div class="content"> + {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}<br> + {{ end }} + {{ end }} + </div> + </div> </div> </header> <div class="content"> |