aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..7ce6180
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,21 @@
+{{ define "main" }}
+ <header>{{ partial "header.html" . }}</header>
+ <h2>{{ .Title }}</h2>
+<time datetime="{{ .Date | time.Format "2006-01-02" }}">
+ {{ .Date | time.Format "2006-01-02" }}
+ </time>
+
+<div class="post-content">
+{{ .Content | safeHTML}}
+</div>
+ {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} <div id="waline"></div>
+<link rel="stylesheet" href="/css/main.css" />
+<div id="waline"></div>
+<script
+ type="module"> import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js'; init({ el: '#waline', serverURL: 'waline.yingyu5658.me', }); </script>
+ <footer>
+ {{ partial "footer.html" . }}
+ </footer>
+
+
+{{ end }}