Skip to content

Commit f91cb74

Browse files
regression fix: broken h1+p (#272)
1 parent 702b207 commit f91cb74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

www/layouts/_default/single.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
{{ $date := .Date }}
44
{{ $author := index .Site.Data.authors (.Params.author | default "default") }}
55

6-
<p style="text-align: right;">
7-
{{ if $author }}
6+
{{ if $author }}
7+
<p style="text-align: right;">
88
<a href="{{ $author.url }}">{{ $author.name }}</a>
9-
{{ end -}}
109
{{ if $date }}
1110
<time>{{ $date.Format (.Site.Params.dateform | default "2006-01-02") }}</time>
1211
{{ end }}
13-
</p>
12+
</p>
13+
{{ end -}}
1414

1515
{{ .Content }}
1616

0 commit comments

Comments
 (0)