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

View file

@ -14,7 +14,6 @@
{{ if (ne $index 0) }}
<hr class="separator">
{{ end }}
<p class="date">{{ .Key }}</p>
{{ range .Pages }}
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ end }}

View file

@ -1,9 +1,6 @@
{{ define "main"}}
<h1>{{ .Title }}</h1>
<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 }}