aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/single.html')
-rw-r--r--layouts/post/single.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 25bfc23..2c4c23e 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -2,10 +2,19 @@
2 {{ if not .Params.dontDisclaim }} 2 {{ if not .Params.dontDisclaim }}
3 {{ partial "disclaimer" . }} 3 {{ partial "disclaimer" . }}
4 {{ end }} 4 {{ end }}
5 {{ with .GetTerms "categories" }}
6 {{ (index . 0).RelPermalink }}
7 {{ end }}
5 <hgroup> 8 <hgroup>
6 <h1>{{ .Title }}</h1> 9 <h1>{{ .Title }}</h1>
7 <h6>{{ .Date | time.Format ":date_full" }}</h6> 10 <h6>{{ .Date | time.Format ":date_full" }}</h6>
8 <h6>{{ .Lastmod | time.Format ":date_full" }}</h6> 11 {{ with .Params.categories }}
12 <div class="pills">
13 {{ range $value := . }}
14 <a href="{{ $.Site.BaseURL }}/categories/{{ $.Site.Taxonomies.categories.path }}/{{ $value | urlize }}">{{ $value }}</a>
15 {{ end }}
16 </div>
17 {{ end }}
9 </hgroup> 18 </hgroup>
10 <section class="content"> 19 <section class="content">
11 {{- .Content -}} 20 {{- .Content -}}