Rename paige-row-narrow to paige-row-short

master
Will Faught 5 months ago
parent dfaf3957b1
commit 064e5227fe

@ -43,19 +43,19 @@
<div class="{{ $class }}">
{{ with $title }}
<p class="paige-row-narrow paige-title text-center"><a href="{{ $link }}">{{ . }}</a></p>
<p class="paige-row-short paige-title text-center"><a href="{{ $link }}">{{ . }}</a></p>
{{ end }}
{{ with $description }}
<p class="paige-description paige-row-narrow text-center">{{ . }}</p>
<p class="paige-description paige-row-short text-center">{{ . }}</p>
{{ end }}
{{ with $summary }}
<p class="fst-italic paige-row-narrow paige-summary text-center">{{ . }}</p>
<p class="fst-italic paige-row-short paige-summary text-center">{{ . }}</p>
{{ end }}
{{ with $keywords }}
<p class="paige-keywords paige-row-narrow text-center text-secondary">
<p class="paige-keywords paige-row-short text-center text-secondary">
{{ range $i, $term := . -}}
{{- $kind := false -}}
@ -79,7 +79,7 @@
{{ end }}
{{ with $series }}
<p class="paige-row-narrow paige-series text-center text-secondary">
<p class="paige-row-short paige-series text-center text-secondary">
{{ range $i, $series := . -}}
{{- if gt $i 0 }} · {{ end -}}
@ -89,7 +89,7 @@
{{ end }}
{{ with $authors }}
<p class="paige-authors text-center paige-row-narrow text-secondary">
<p class="paige-authors text-center paige-row-short text-secondary">
{{ range $i, $author := . -}}
{{- if gt $i 0 }} · {{ end -}}
@ -99,12 +99,12 @@
{{ end }}
{{ with $date }}
<p class="paige-date text-center paige-row-narrow text-secondary">
<p class="paige-date text-center paige-row-short text-secondary">
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format $format . }}</time>
</p>
{{ end }}
{{ with $time }}
<p class="paige-reading-time paige-row-narrow text-center text-secondary">{{ . }} {{ i18n "paige_minutes" . }}</p>
<p class="paige-reading-time paige-row-short text-center text-secondary">{{ . }} {{ i18n "paige_minutes" . }}</p>
{{ end }}
</div>

@ -26,13 +26,13 @@
{{ if or $edit $history }}
<div id="paige-file">
{{ with $edit }}
<div class="paige-row-narrow text-center text-secondary" id="paige-edit">
<div class="paige-row-short text-center text-secondary" id="paige-edit">
<a class="link-secondary" href="{{ . }}">{{ i18n "paige_edit_this_page" }}</a>
</div>
{{ end }}
{{ with $history }}
<div class="paige-row-narrow text-center text-secondary" id="paige-history">
<div class="paige-row-short text-center text-secondary" id="paige-history">
<a class="link-secondary" href="{{ . }}">{{ i18n "paige_edit_history" }}</a>
</div>
{{ end }}
@ -42,11 +42,11 @@
{{ if or $next $prev }}
<div id="paige-siblings">
{{ with $prev }}
<div class="paige-row-narrow text-center text-secondary" id="paige-next"><a class="link-secondary" href="{{ .Permalink }}">{{ .LinkTitle }}</a> &rsaquo;</div>
<div class="paige-row-short text-center text-secondary" id="paige-next"><a class="link-secondary" href="{{ .Permalink }}">{{ .LinkTitle }}</a> &rsaquo;</div>
{{ end }}
{{ with $next }}
<div class="paige-row-narrow text-center text-secondary" id="paige-prev">&lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .LinkTitle }}</a></div>
<div class="paige-row-short text-center text-secondary" id="paige-prev">&lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .LinkTitle }}</a></div>
{{ end }}
</div>
{{ end }}

@ -37,7 +37,7 @@
{{ if or $authors $date $keywords $time $series }}
<div id="paige-metadata">
{{ with $keywords }}
<p class="{{ if $normal }} paige-row-narrow {{ end }} text-center {{ if $normal }} text-secondary {{ end }}" id="paige-keywords">
<p class="{{ if $normal }} paige-row-short {{ end }} text-center {{ if $normal }} text-secondary {{ end }}" id="paige-keywords">
{{ range $i, $term := . -}}
{{- $kind := false -}}
@ -61,7 +61,7 @@
{{ end }}
{{ with $series }}
<p class="paige-row-narrow text-center text-secondary" id="paige-series">
<p class="paige-row-short text-center text-secondary" id="paige-series">
{{ range $i, $series := . -}}
{{- if gt $i 0 }} · {{ end -}}
@ -71,7 +71,7 @@
{{ end }}
{{ with $authors }}
<p class="paige-row-narrow text-center text-secondary" id="paige-authors">
<p class="paige-row-short text-center text-secondary" id="paige-authors">
{{ range $i, $author := . -}}
{{- if gt $i 0 }} · {{ end -}}
@ -81,13 +81,13 @@
{{ end }}
{{ with $date }}
<p class="paige-row-narrow text-center text-secondary" id="paige-date">
<p class="paige-row-short text-center text-secondary" id="paige-date">
<time datetime="{{ .Format `2006-01-02` }}" {{ if $microdata }} itemprop="datePublished" {{ end }}>{{ time.Format $format . }}</time>
</p>
{{ end }}
{{ with $time }}
<p class="paige-row-narrow text-center text-secondary" id="paige-reading-time" {{ if $microdata }} itemprop="timeRequired" {{ end }}>{{ . }} {{ i18n "paige_minutes" . }}</p>
<p class="paige-row-short text-center text-secondary" id="paige-reading-time" {{ if $microdata }} itemprop="timeRequired" {{ end }}>{{ . }} {{ i18n "paige_minutes" . }}</p>
{{ end }}
</div>
{{ end }}

@ -22,15 +22,15 @@
{{ end }}
{{ with $copyright }}
<p class="paige-row-narrow text-center text-secondary" id="paige-copyright" {{ if $microdata }} itemprop="copyrightNotice" {{ end }}>{{ . }}</p>
<p class="paige-row-short text-center text-secondary" id="paige-copyright" {{ if $microdata }} itemprop="copyrightNotice" {{ end }}>{{ . }}</p>
{{ end }}
{{ with $license }}
<p class="paige-row-narrow text-center text-secondary" id="paige-license">{{ . }}</p>
<p class="paige-row-short text-center text-secondary" id="paige-license">{{ . }}</p>
{{ end }}
{{ with $credit }}
<p class="paige-row-narrow text-center text-secondary" id="paige-credit">{{ . }}</p>
<p class="paige-row-short text-center text-secondary" id="paige-credit">{{ . }}</p>
{{ end }}
{{ if $last }}

@ -55,7 +55,7 @@ th {
display: flex;
}
.paige-row-narrow:not(:last-child),
.paige-row-short:not(:last-child),
.paige-figure .paige-quote,
.paige-figure .paige-video,
.paige-figure .highlight pre.chroma,
@ -72,7 +72,7 @@ blockquote > p:last-of-type {
.paige-gallery,
.paige-image,
.paige-quote,
.paige-row-narrow:last-child,
.paige-row-short:last-child,
.paige-row-tall,
.paige-video,
#paige-content > *,

Loading…
Cancel
Save