2018-09-23 11:11:35 +00:00
|
|
|
{{ define "main"}}
|
2019-03-23 07:18:03 +00:00
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<!-- date -->
|
2019-05-18 13:27:23 +00:00
|
|
|
{{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}
|
|
|
|
<p class="date">{{ .Date.Format $singlePageDateFormat }}</p>
|
2020-01-16 02:47:11 +00:00
|
|
|
<!-- tags -->
|
|
|
|
<div id="tags">
|
|
|
|
<ul>
|
|
|
|
{{ range .Param "tags" }}
|
|
|
|
{{ $name := . }}
|
|
|
|
{{ with $.Site.GetPage (printf "/tags/%s" ($name | urlize)) }}
|
|
|
|
<li><a href="{{ .Permalink }}">{{ $name }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2019-03-23 07:18:03 +00:00
|
|
|
<!-- content -->
|
2019-03-23 16:59:56 +00:00
|
|
|
<div id="contentBody">
|
2019-03-23 07:18:03 +00:00
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|
2018-09-23 11:11:35 +00:00
|
|
|
{{ end }}
|