diff options
| author | yingyu5658 <yingyu5658@outlook.com> | 2025-08-01 21:30:53 +0800 |
|---|---|---|
| committer | yingyu5658 <yingyu5658@outlook.com> | 2025-08-01 21:30:53 +0800 |
| commit | 70c5a2b6fb60bd90e7780fa220bfe146141d00e2 (patch) | |
| tree | 62e4c8e25b1c426c4f6ce21cf25e865445b176d4 /layouts/_default/single.html | |
| download | hugo-theme-concise-70c5a2b6fb60bd90e7780fa220bfe146141d00e2.tar.gz hugo-theme-concise-70c5a2b6fb60bd90e7780fa220bfe146141d00e2.zip | |
Initial commit
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 21 |
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 }} |
