Rename 'date' partial to 'byline'
This commit is contained in:
parent
cf3d0db173
commit
4681a4f7c8
|
@ -1,6 +1,7 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ partial "nav.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ partial "date.html" . }}
|
||||
{{ partial "byline.html" . }}
|
||||
{{ .Content }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
{{ partial "nav.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ partial "date.html" . }}
|
||||
{{ partial "byline.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<i>
|
||||
{{ if ne .Lastmod .Date}}Originally created {{end}}
|
||||
{{ if ne .Lastmod .Date}}
|
||||
Originally created
|
||||
{{ end }}
|
||||
{{ .Date.Format "January 2, 2006" }}
|
||||
</i>
|
||||
{{ if ne .Lastmod .Date}}
|
Loading…
Reference in New Issue
Block a user