diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2020-01-27 01:01:55 -0500 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2020-01-27 01:01:55 -0500 |
commit | 241bad276058bfe617788a3d70b559a642f085e1 (patch) | |
tree | 994e3421e8b9dc94407dfd30f46595d67e6c3db9 /layouts/_default/single.html | |
parent | c9e1a414d95c5c5061a4743147a4dd4d37070c59 (diff) | |
download | simplesource-241bad276058bfe617788a3d70b559a642f085e1.tar.gz simplesource-241bad276058bfe617788a3d70b559a642f085e1.tar.bz2 simplesource-241bad276058bfe617788a3d70b559a642f085e1.zip |
Posts now show tags, removing .URL (depreciated)
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"> |