summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2023-11-17 23:08:13 +0100
committermms <michal@sapka.me>2023-11-17 23:08:13 +0100
commit01fa8ffafee92e0ddc1c723f97f4fb3d33ca8b20 (patch)
treea343e9fda06dee947f293630b78fa1047ef798b7 /layouts/_default/single.html
parentd0ed7e74343ba6a6fabd622c818d014907c76785 (diff)
feat: star trek section WIP
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
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") }}