Merge pull request #6 from mikl/master
fix for pages with no date value
This commit is contained in:
commit
fcae0cf016
@ -1,6 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
{{ if .Date }}
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{ end }}
|
||||
<div>
|
||||
<p>
|
||||
{{ .Content }}
|
||||
|
Loading…
Reference in New Issue
Block a user