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