2020-01-15 22:07:43 -05:00
|
|
|
{{ define "main"}}
|
|
|
|
<h1 class='title'>{{ .Title }}</h1>
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<!-- date -->
|
|
|
|
{{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}
|
|
|
|
<p class="date">{{ .Date.Format $singlePageDateFormat }}</p>
|
2020-02-16 17:29:11 -05: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>
|
2020-01-15 22:07:43 -05:00
|
|
|
<!-- content -->
|
|
|
|
<div id="contentBody">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
{{ end }}
|