summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/conspiracy/layouts/_default/single.html')
-rw-r--r--themes/conspiracy/layouts/_default/single.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/conspiracy/layouts/_default/single.html b/themes/conspiracy/layouts/_default/single.html
new file mode 100644
index 0000000..9f3ff8d
--- /dev/null
+++ b/themes/conspiracy/layouts/_default/single.html
@@ -0,0 +1,12 @@
+{{- define "main" }}
+ {{- if not .IsHome | and .Title }}
+ <header>
+ <h1>{{ .Title }}</h1>
+ {{- partial "breadcrumbs.html" . }}
+ {{- if .Params.Date }} <strong>{{ .Date.Format "2006-01-02" }}</strong>{{- end }}
+ </header>
+ {{- end }}
+ <main>
+ {{ .Content }}
+ </main>
+{{- end }}