diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-24 15:14:43 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-24 15:14:43 +0100 |
commit | 2a89630a47358edd3351bd8ad90ab03bd507bd59 (patch) | |
tree | b433e5012c6ab8f568b7555166f758a991584d56 /layouts/posts/single.html | |
parent | 7798a5cc7c1d636008f000937e3d096f01dbbde5 (diff) |
Add simple blog rendering
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r-- | layouts/posts/single.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..f31b1a9 --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} +<section> + <header> + <h1>{{ .Title }}</h1> + <h5>{{ .Date.Format "January 2, 2006" }}</h5> + </header> + <article class="markdown"> + {{- .Content -}} + </article> +</section> +{{ end }}
\ No newline at end of file |