Fix date duplicated when profile not set
This commit is contained in:
parent
e42eca49be
commit
1c7753703f
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
|||
<h1>{{ .Page.Title }}</h1>
|
||||
</div>
|
||||
|
||||
{{ if not .Params.profile | default true }}
|
||||
{{ if not (.Params.profile | default true) }}
|
||||
<div class="author-profile ml-auto align-self-lg-center">
|
||||
<p class="text-muted">{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}</p>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue