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 }}"> <div class="{{ $class }}">
{{ with $title }} {{ 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 }} {{ end }}
{{ with $description }} {{ with $description }}
<p class="paige-description paige-row-narrow text-center">{{ . }}</p> <p class="paige-description paige-row-short text-center">{{ . }}</p>
{{ end }} {{ end }}
{{ with $summary }} {{ 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 }} {{ end }}
{{ with $keywords }} {{ 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 := . -}} {{ range $i, $term := . -}}
{{- $kind := false -}} {{- $kind := false -}}
@ -79,7 +79,7 @@
{{ end }} {{ end }}
{{ with $series }} {{ 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 := . -}} {{ range $i, $series := . -}}
{{- if gt $i 0 }} · {{ end -}} {{- if gt $i 0 }} · {{ end -}}
@ -89,7 +89,7 @@
{{ end }} {{ end }}
{{ with $authors }} {{ 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 := . -}} {{ range $i, $author := . -}}
{{- if gt $i 0 }} · {{ end -}} {{- if gt $i 0 }} · {{ end -}}
@ -99,12 +99,12 @@
{{ end }} {{ end }}
{{ with $date }} {{ 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> <time datetime="{{ .Format `2006-01-02` }}">{{ time.Format $format . }}</time>
</p> </p>
{{ end }} {{ end }}
{{ with $time }} {{ 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 }} {{ end }}
</div> </div>

@ -26,13 +26,13 @@
{{ if or $edit $history }} {{ if or $edit $history }}
<div id="paige-file"> <div id="paige-file">
{{ with $edit }} {{ 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> <a class="link-secondary" href="{{ . }}">{{ i18n "paige_edit_this_page" }}</a>
</div> </div>
{{ end }} {{ end }}
{{ with $history }} {{ 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> <a class="link-secondary" href="{{ . }}">{{ i18n "paige_edit_history" }}</a>
</div> </div>
{{ end }} {{ end }}
@ -42,11 +42,11 @@
{{ if or $next $prev }} {{ if or $next $prev }}
<div id="paige-siblings"> <div id="paige-siblings">
{{ with $prev }} {{ 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 }} {{ end }}
{{ with $next }} {{ 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 }} {{ end }}
</div> </div>
{{ end }} {{ end }}

@ -37,7 +37,7 @@
{{ if or $authors $date $keywords $time $series }} {{ if or $authors $date $keywords $time $series }}
<div id="paige-metadata"> <div id="paige-metadata">
{{ with $keywords }} {{ 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 := . -}} {{ range $i, $term := . -}}
{{- $kind := false -}} {{- $kind := false -}}
@ -61,7 +61,7 @@
{{ end }} {{ end }}
{{ with $series }} {{ 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 := . -}} {{ range $i, $series := . -}}
{{- if gt $i 0 }} · {{ end -}} {{- if gt $i 0 }} · {{ end -}}
@ -71,7 +71,7 @@
{{ end }} {{ end }}
{{ with $authors }} {{ 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 := . -}} {{ range $i, $author := . -}}
{{- if gt $i 0 }} · {{ end -}} {{- if gt $i 0 }} · {{ end -}}
@ -81,13 +81,13 @@
{{ end }} {{ end }}
{{ with $date }} {{ 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> <time datetime="{{ .Format `2006-01-02` }}" {{ if $microdata }} itemprop="datePublished" {{ end }}>{{ time.Format $format . }}</time>
</p> </p>
{{ end }} {{ end }}
{{ with $time }} {{ 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 }} {{ end }}
</div> </div>
{{ end }} {{ end }}

@ -22,15 +22,15 @@
{{ end }} {{ end }}
{{ with $copyright }} {{ 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 }} {{ end }}
{{ with $license }} {{ 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 }} {{ end }}
{{ with $credit }} {{ 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 }} {{ end }}
{{ if $last }} {{ if $last }}

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

Loading…
Cancel
Save