diff options
author | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-10-13 21:26:24 -0400 |
---|---|---|
committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-10-13 21:26:24 -0400 |
commit | cf6c17546bc40d41c169279ad7b8f60bf0888ab3 (patch) | |
tree | 818f9bea1c1472ab3204f166a642ae05a4a71187 /layouts/post/single.html | |
parent | 2545016f8d6b63b0d857fc20fdd7276d2f0fc2a9 (diff) |
new templates, and refinements
Diffstat (limited to 'layouts/post/single.html')
-rw-r--r-- | layouts/post/single.html | 11 |
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 -}} |