diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9991188..53f7f35 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,13 +2,15 @@ <article> <h2>{{ .Page.Title }}</h2> {{- if not (eq .Page.Type "special") }} + {{ if in .Page.Params.category "star-trek" }} + Earthdate + {{ end }} <time datetime="{{.PublishDate.Format "2006-01-02" }}"> {{ .PublishDate.Format "January 2, 2006" }} </time> {{- end }} - {{ .Page.Content }} - + {{ .Page.Content }} {{- if not (in .Params.category "pages") }} {{- if not (eq .Page.Type "special") }} |