Organize classes
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
<div class="{{ $class }}">
|
||||
{{ with $title }}
|
||||
<p class="paige-row-short paige-page-title text-center"><a href="{{ $link }}">{{ . }}</a></p>
|
||||
<p class="paige-page-title paige-row-short text-center"><a href="{{ $link }}">{{ . }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
{{ with $description }}
|
||||
@@ -55,7 +55,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ with $summary }}
|
||||
<p class="fst-italic paige-row-short paige-page-summary text-center">{{ . }}</p>
|
||||
<p class="fst-italic paige-page-summary paige-row-short text-center">{{ . }}</p>
|
||||
{{ end }}
|
||||
|
||||
{{ with $keywords }}
|
||||
@@ -75,7 +75,7 @@
|
||||
{{ if .RelPermalink }}
|
||||
<a class="link-secondary paige-page-keyword-{{ $kind }}" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
{{ else }}
|
||||
<span class="text-secondary paige-page-keyword-{{ $kind }}">{{ .LinkTitle }}</span>
|
||||
<span class="paige-page-keyword-{{ $kind }} text-secondary">{{ .LinkTitle }}</span>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ if gt $i 0 }} {{ end }}
|
||||
@@ -91,7 +91,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ with $series }}
|
||||
<p class="paige-row-short paige-page-series text-center text-secondary">
|
||||
<p class="paige-page-series paige-row-short text-center text-secondary">
|
||||
{{ range $i, $series := . }}
|
||||
{{ if gt $i 0 }} · {{ end }}
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ with $authors }}
|
||||
<p class="paige-page-authors text-center paige-row-short text-secondary">
|
||||
<p class="paige-page-authors paige-row-short text-center text-secondary">
|
||||
{{ range $i, $author := . }}
|
||||
{{ if gt $i 0 }} · {{ end }}
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ with $date }}
|
||||
<p class="paige-page-date text-center paige-row-short text-secondary">
|
||||
<p class="paige-page-date paige-row-short text-center text-secondary">
|
||||
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format $format . }}</time>
|
||||
</p>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user