diff options
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r-- | layouts/posts/single.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..cb63cbf --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,20 @@ +{{ define "main" }} +<article> + <header> + <h1>{{ .Title }}</h1> + {{- range .Params.tags }} + <a href="/tags/{{ . | lower }}">#{{ . }}</a> + {{- end }} + </header> + <main> + {{ .Content }} + </main> + <footer> + <p class="text-center"> + <a class="image-link" rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> + <img alt="Creative Commons License" style="border-width:0" src="/img/cc-by-sa.png"> + </a> + </p> + </footer> +</article> +{{ end }} |