Skip to content

Commit

Permalink
regression fix: broken h1+p (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabi1cazenave authored Nov 10, 2024
1 parent 702b207 commit f91cb74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions www/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
{{ $date := .Date }}
{{ $author := index .Site.Data.authors (.Params.author | default "default") }}

<p style="text-align: right;">
{{ if $author }}
{{ if $author }}
<p style="text-align: right;">
<a href="{{ $author.url }}">{{ $author.name }}</a>
{{ end -}}
{{ if $date }}
<time>{{ $date.Format (.Site.Params.dateform | default "2006-01-02") }}</time>
{{ end }}
</p>
</p>
{{ end -}}

{{ .Content }}

Expand Down

0 comments on commit f91cb74

Please sign in to comment.