summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-07-11 12:00:45 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-07-11 12:00:45 -0400
commit3ee89967cbb087de3541126f15db9a920d02ad68 (patch)
tree2e87d6a39ea380e8b112a86cc66a7922f36da89b /layouts/_default/single.html
parent09bf01a0d2e911fed4dc5aa12d6534ef0c6888a6 (diff)
own single layout
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..5069e98
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,6 @@
+{{ partial "header.html" . }}
+<header><h1>{{ with .Params.icon }}<img src="/pix/{{ . }}" class=titleicon>{{ end }}{{ .Title }}</h1></header>
+<article>{{ with .Params.img }}<img src="/pix/{{ . }}" class=titleimg>{{ end }}
+{{ .Content }}
+</article>
+{{ partial "footer.html" . }}