aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..5e1cba0
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+
+<div class="flex flex-col gap-1">
+ <h1 class="title-small">
+ {{ if .Params.header }}
+ {{ .Params.header }}
+ {{ else }}
+ {{ .Title }}
+ {{ end }}
+ </h1>
+
+ {{ with .Content }}
+ {{ . }}
+ {{ end }}
+</div>
+
+{{ end }}