diff options
Diffstat (limited to 'themes/Brine/layouts/_default/single.html')
-rw-r--r-- | themes/Brine/layouts/_default/single.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/Brine/layouts/_default/single.html b/themes/Brine/layouts/_default/single.html index e69de29..a34f75c 100644 --- a/themes/Brine/layouts/_default/single.html +++ b/themes/Brine/layouts/_default/single.html @@ -0,0 +1,12 @@ +{{ define "main" }} + <article class="post"> + <header class="post-header"> + <h1 class ="post-title">{{ .Title }}</h1> + <div class="post-meta"> + <div>Published: {{ .PublishDate.Format "Jan 2, 2006" }}</div> + <div>Reading time: {{ .ReadingTime }} min</div>{{- with .Params.tags -}} + <div>Tags: {{ range . -}}{{- with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}<a href="{{ .Permalink }}">{{ .Title }}</a> {{- end -}}{{- end -}}</div>{{- end -}} + </div> + </header> + <div class="post-content">{{ .Content }}</div> + </article>{{ end }} |