diff options
Diffstat (limited to 'layouts/partials/post-metadata-single.html')
-rw-r--r-- | layouts/partials/post-metadata-single.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/post-metadata-single.html b/layouts/partials/post-metadata-single.html new file mode 100644 index 0000000..6cd9c10 --- /dev/null +++ b/layouts/partials/post-metadata-single.html @@ -0,0 +1,12 @@ +<h1 class="title"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }} ::Draft{{ end }} + <small class="text-muted pull-right">{{ .Date.Format "January 1, 2006" }}</small> +</h1> +<div class="post-metadata"> + {{ if (ne ($.Param "displayauthor") false) }} + <small class="text-muted">by {{ .Params.author | default .Site.Params.author }}</small> + {{ end }} + <p class="text-muted"></p> + {{ if .Params.tags }} + {{ partial "tags" .Params.tags }} + {{ end }} +</div>
\ No newline at end of file |