Add #paige-metadata

master
Will Faught 2 years ago
parent 0cb544f13e
commit bde97e4482

@ -773,6 +773,8 @@ Page identifiers:
<dd>The keywords.</dd> <dd>The keywords.</dd>
<dt><code>#paige-main</code></dt> <dt><code>#paige-main</code></dt>
<dd>The main.</dd> <dd>The main.</dd>
<dt><code>#paige-metadata</code></dt>
<dd>The metadata.</dd>
<dt><code>#paige-pagination</code></dt> <dt><code>#paige-pagination</code></dt>
<dd>The sub-page pagination links.</dd> <dd>The sub-page pagination links.</dd>
<dt><code>#paige-reading-time</code></dt> <dt><code>#paige-reading-time</code></dt>

@ -27,7 +27,7 @@
{{ $commiturl = print ($page.Param "paige.git.commit_url_prefix") $page.GitInfo.Hash }} {{ $commiturl = print ($page.Param "paige.git.commit_url_prefix") $page.GitInfo.Hash }}
{{ end }} {{ end }}
<div class="paige-metadata w-100"> <div class="{{ if $class }} paige-metadata {{ end }} w-100" {{ if $id }} id="paige-metadata" {{ end }}>
{{ with $title }} {{ with $title }}
<h1 class="display-5 fw-bold {{ if $class }} paige-title {{ end }} text-center" {{ if $id }} id="paige-title" {{ end }}>{{ with $titlelink }}<a href="{{ . }}">{{ . }}</a>{{ else }}{{ . }}{{ end }}{{ if $fullpages }}<a aria-label="{{ i18n `paige_aria_page_link` }}" class="paige-header-link" href="{{ $titlepage }}">#</a>{{ end }}</h1> <h1 class="display-5 fw-bold {{ if $class }} paige-title {{ end }} text-center" {{ if $id }} id="paige-title" {{ end }}>{{ with $titlelink }}<a href="{{ . }}">{{ . }}</a>{{ else }}{{ . }}{{ end }}{{ if $fullpages }}<a aria-label="{{ i18n `paige_aria_page_link` }}" class="paige-header-link" href="{{ $titlepage }}">#</a>{{ end }}</h1>
{{ end }} {{ end }}

Loading…
Cancel
Save