diff options
Diffstat (limited to 'layouts/reviews/single.html')
-rw-r--r-- | layouts/reviews/single.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/reviews/single.html b/layouts/reviews/single.html new file mode 100644 index 0000000..8b8e1da --- /dev/null +++ b/layouts/reviews/single.html @@ -0,0 +1,22 @@ +{{ define "main" }} +<article class="reviews"> + + <aside class="right-panel"> + {{ partial "reviews/metrics.html" . }} + + {{ if .Page.Params.related}} + {{ partial "reviews/related.html" . }} + {{ end }} + </aside> + <h2> <a href="{{ .Page.Permalink }}"> {{ .Title }}</a></h2> + <hr> + + {{ .Page.Content }} + + <hr> + <time datetime="{{.PublishDate.Format "2006-01-02" }}"> + Published: + {{ .PublishDate.Format "Monday, 2 Jan 2006" }} + </time> +</article> +{{- end }} |