aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
blob: 90bfe384d47b4a733ea4f884653163c7a7f4e5a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{{ define "main" }} 
	<header>
		<meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title> {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }}
	</header>

	   <h1 class="inner-post-title">{{ .Title }}</h1> 
<time datetime="{{ .Date | time.Format "2006-01-02" }}">
  {{ .Date | time.Format "Jan. 2, 2006" }}
</time> 
   <hr>
<div class="post-content">
{{ .Content | safeHTML}}
</div>
 {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
<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: ''
	});
</script>

	<footer>
		{{ partial "footer.html" . }} 
    </footer>

{{ end }}