Skip to content

Commit

Permalink
Change param localization
Browse files Browse the repository at this point in the history
  • Loading branch information
BernatBC committed Jan 24, 2024
1 parent 1c77537 commit 23995c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<!--Content Start-->
<div class="page-content">
{{ if .Params.profile | default true }}
{{ if site.Params.features.blog.showAuthor | default true }}
<div class="author-profile ml-auto align-self-lg-center">
<img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}' alt="Author Image">
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
Expand All @@ -50,7 +50,7 @@ <h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
<h1>{{ .Page.Title }}</h1>
</div>

{{ if not (.Params.profile | default true) }}
{{ if not (site.Params.features.blog.showAuthor | 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>
Expand Down

0 comments on commit 23995c3

Please sign in to comment.