diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/problematic/layouts/_default/single.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/problematic/layouts/_default/single.html b/themes/problematic/layouts/_default/single.html index 8da12c7..57895ef 100644 --- a/themes/problematic/layouts/_default/single.html +++ b/themes/problematic/layouts/_default/single.html @@ -8,5 +8,20 @@ <h2 class="title">{{ .Title }}</h2> {{ .Date.Format "Monday, 2 January 2006" }} + {{ .Content }} + + {{ if .Params.tags }} + <div style="background-color: rgb(240, 240, 240);"> + This post is tagged with: + {{ range .Params.tags }} + <a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a> + {{ end }} + {{ else }} + <div style="background-color: rgb(240, 240, 240); margin-top: 20px;"> + This post is untagged. + </div> + {{ end }} + </div> + {{ end }} |