summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authora73x <[email protected]>2024-12-21 11:53:54 +0000
committera73x <[email protected]>2024-12-21 11:53:54 +0000
commit6beea1d4127d2d51bfdc75162423407c198d19da (patch)
tree03aaf4e1511935dd8bc0b35e167544adcd7bacb5 /templates
parentf71e02f096f4b856a8ebd0323cebfd958bb17359 (diff)
add date to posts
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/_default.html1
-rw-r--r--templates/post.html6
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html
index dfc5a7e..5e82732 100644
--- a/templates/layouts/_default.html
+++ b/templates/layouts/_default.html
@@ -11,6 +11,7 @@
<title>a73x</title>
<link rel="stylesheet" href="/static/styles.css">
<link rel="stylesheet" href="/static/syntax.css">
+ <link rel="icon" type="image/x-icon" href="/static/favicon.svg">
</head>
<body>
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..bc567f2
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,6 @@
+{{template "base" .}}
+{{define "content"}}
+<a href="/posts">← Posts</a>
+<h1>{{.Meta.title}}</h1>
+{{ .Body }}
+{{end}} \ No newline at end of file