Skip to content

Commit

Permalink
Show alert if only value in page header
Browse files Browse the repository at this point in the history
  • Loading branch information
willfaught committed Jul 24, 2024
1 parent 30d7650 commit 3d84ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/paige/page-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{{ $keywords := sort (append $categories $tags) "Title" | and ($page.Param "paige.page.disable_keywords" | not) }}

{{ if or $authors $date $description $first $keywords $last $readingtime $series $title $toc }}
{{ if or $alert $authors $date $description $first $keywords $last $readingtime $series $title $toc }}
<header class="mw-100" id="paige-page-header">
<div class="align-items-center d-flex flex-column">
{{ if $first }}
Expand Down

0 comments on commit 3d84ba6

Please sign in to comment.