summaryrefslogtreecommitdiffstats
path: root/layouts/narrative/single.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-04-30 22:09:28 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-04-30 22:09:28 +0200
commit54c8c67e12a998b33eb508a80b458cade35a2864 (patch)
treea22e2eae03e8a16d716bcd623d58e4593eb36b42 /layouts/narrative/single.html
parent24a19a83316c798c3dd18b90ed42aa120514ded8 (diff)
downloadgohugo-theme-ed-54c8c67e12a998b33eb508a80b458cade35a2864.tar.gz
Add custom content types
Diffstat (limited to 'layouts/narrative/single.html')
-rw-r--r--layouts/narrative/single.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/narrative/single.html b/layouts/narrative/single.html
new file mode 100644
index 0000000..6b56ef4
--- /dev/null
+++ b/layouts/narrative/single.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+<article class="narrative">
+ <h1 class="text-title">{{ .Title }}</h1>
+ <p class="byline">by {{ .Params.author }}</p>
+ {{ .Content }}
+</article>
+{{ end }}