Add #paige-article
This commit is contained in:
@@ -10,10 +10,11 @@
|
||||
{{ $params = dict "fullpages" $fullpages "page" $page }}
|
||||
{{ end }}
|
||||
|
||||
{{ $class := slice "paige-article" }}
|
||||
{{ $class := cond $fullpages (slice "paige-article") slice }}
|
||||
{{ $draft := $page.Draft }}
|
||||
{{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }}
|
||||
{{ $future := and $page.PublishDate (gt $page.PublishDate now) }}
|
||||
{{ $id := not $fullpages }}
|
||||
{{ $modified := and $page.PublishDate $page.Lastmod (lt $page.PublishDate $page.Lastmod) }}
|
||||
|
||||
{{ if $draft }}
|
||||
@@ -52,7 +53,7 @@
|
||||
|
||||
{{ $class = delimit ($class | uniq) " " }}
|
||||
|
||||
<article class="{{ $class }}">
|
||||
<article class="{{ $class }}" {{ if $id }} id="paige-article" {{ end }}>
|
||||
<div class="align-items-center d-flex flex-column mb-0">
|
||||
{{ partial "paige/metadata.html" $params }}
|
||||
{{ partial "paige/alert.html" $page }}
|
||||
|
Reference in New Issue
Block a user