Skip to content

Commit

Permalink
fix small default
Browse files Browse the repository at this point in the history
  • Loading branch information
nunocoracao committed Jan 28, 2024
1 parent f85443d commit 8c4fb4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/article-meta/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ $meta := newScratch }}

{{/* Gather partials for this context */}}
{{ if .Params.showDate | default (.Site.Params.article.showDate | default false) }}
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ $meta.Add "partials" (slice (partial "meta/date.html" .Date)) }}
{{else if and (eq $scope "single") (.Params.showDateOnlyInArticle | default (.Site.Params.article.showDateOnlyInArticle | default false)) }}
{{ $meta.Add "partials" (slice (partial "meta/date.html" .Date)) }}
Expand Down

0 comments on commit 8c4fb4d

Please sign in to comment.