blob: af3188287c85cc2aeee7b91bb70b7bce8410b367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{ define "main" }}
<h1 class="post-title">{{ .Title }}</h1>
{{ $dateFormat := $.Site.Params.dateFormat | default "Jan 2, 2006" }}
<strong>Publish date: </strong>{{ .PublishDate.Format $dateFormat }}
<br>
{{ with .Params.tags }}
<strong>Tags: </strong>
{{ range . }}
<a href="{{ "tags/" | absURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
{{ end }}
{{ if ne .Params.toc false }}
{{ partial "toc.html" . }}
{{ end }}
{{ .Content }}
{{ template "_internal/disqus.html" . }}
{{ end }}
|