asside: remove author and related logic, replace date with lastmod, tweak formatting
This commit is contained in:
parent
cbb2777114
commit
ca98192cfb
|
@ -1,9 +1,6 @@
|
||||||
{{define "aside" }}
|
{{define "aside" }}
|
||||||
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
||||||
{{ if or (.Params.author) (.Params.date) }}
|
|
||||||
<p>
|
<p>
|
||||||
{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }}
|
{{ if .Lastmod }}Last Modified: {{ .Lastmod.Format "2006-01-02" }}{{ end }}
|
||||||
{{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}
|
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
|
||||||
|
|
Loading…
Reference in New Issue