mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 22:42:19 +00:00
further improve aside <hr> logic
This commit is contained in:
parent
bca53dbd8a
commit
b284940cfe
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
{{ if or (.Params.description) (.Params.author) (.Params.date) }}
|
||||||
{{ if or (.Params.author) (.Params.date) }}
|
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
|
||||||
<p>
|
<p>
|
||||||
{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }}
|
{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }}
|
||||||
{{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}
|
{{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue