Pulp modifications as shown at brandonrozek.com

This commit is contained in:
Brandon Rozek 2020-01-15 22:07:43 -05:00
parent 997422cd16
commit 74b08eaf7a
10 changed files with 82 additions and 17 deletions

12
layouts/blog/single.html Normal file
View file

@ -0,0 +1,12 @@
{{ 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>
<!-- content -->
<div id="contentBody">
{{ .Content }}
</div>
{{ partial "footer.html" . }}
{{ end }}