summaryrefslogtreecommitdiff
path: root/templates/default.html
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-27 19:43:56 +0100
committera73x <[email protected]>2024-08-27 20:23:18 +0100
commitd38fc83df3824b840f0b3930e4cb7236bdab84b2 (patch)
tree586a7f940291f933ef2a7e05b20dff21ded6d78a /templates/default.html
parentcffb105a9ff8ed5d7aa04e5f4097368f6be38b8e (diff)
feat(content): support templating in content
this is tired person code don't write tired person code
Diffstat (limited to 'templates/default.html')
-rw-r--r--templates/default.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/default.html b/templates/default.html
new file mode 100644
index 0000000..3d68d2c
--- /dev/null
+++ b/templates/default.html
@@ -0,0 +1,5 @@
+{{template "base" .}}
+{{define "content"}}
+<h1>{{.Meta.title}}</h1>
+{{ .Body }}
+{{end}} \ No newline at end of file