diff options
Diffstat (limited to 'layouts/post')
| -rw-r--r-- | layouts/post/single.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..306df48 --- /dev/null +++ b/layouts/post/single.html | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | {{ define "main" }} | ||
| 2 | <article> | ||
| 3 | <section> | ||
| 4 | <h1>{{ .Title }}</h1> | ||
| 5 | <h6>{{ .Date | time.Format ":date_full" }}</h6> | ||
| 6 | </section> | ||
| 7 | <section> | ||
| 8 | {{- .Content -}} | ||
| 9 | </section> | ||
| 10 | </article> | ||
| 11 | {{ end }} \ No newline at end of file | ||
