blob: 9adb7906d070e658911d4a243cec44d7d675f1de (
plain) (
tree)
|
|
{{ define "main" }} <h1>{{ .Title }}</h1>
<div>Published: {{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }}, last updated: {{ .Lastmod.Format "Jan 2, 2006" }}{{ end }}</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 -}}
{{ .Content }}{{ end }}
|