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