We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 702b207 commit f91cb74Copy full SHA for f91cb74
www/layouts/_default/single.html
@@ -3,14 +3,14 @@
3
{{ $date := .Date }}
4
{{ $author := index .Site.Data.authors (.Params.author | default "default") }}
5
6
- <p style="text-align: right;">
7
- {{ if $author }}
+ {{ if $author }}
+ <p style="text-align: right;">
8
– <a href="{{ $author.url }}">{{ $author.name }}</a>
9
- {{ end -}}
10
{{ if $date }}
11
– <time>{{ $date.Format (.Site.Params.dateform | default "2006-01-02") }}</time>
12
{{ end }}
13
- </p>
+ </p>
+ {{ end -}}
14
15
{{ .Content }}
16
0 commit comments