Remove some whitespace collapse actions
This commit is contained in:
@@ -60,61 +60,61 @@
|
||||
|
||||
{{ with $keywords }}
|
||||
<p class="paige-page-keywords paige-row-short text-center text-secondary">
|
||||
{{ range $i, $term := . -}}
|
||||
{{- $kind := false -}}
|
||||
{{ range $i, $term := . }}
|
||||
{{ $kind := false }}
|
||||
|
||||
{{- if in $categories $term -}}
|
||||
{{- $kind = "category" -}}
|
||||
{{- else -}}
|
||||
{{- $kind = "tag" -}}
|
||||
{{- end -}}
|
||||
{{ if in $categories $term }}
|
||||
{{ $kind = "category" }}
|
||||
{{ else }}
|
||||
{{ $kind = "tag" }}
|
||||
{{ end }}
|
||||
|
||||
{{- if $normal -}}
|
||||
{{- if gt $i 0 }} · {{ end -}}
|
||||
{{ if $normal }}
|
||||
{{ if gt $i 0 }} · {{ end }}
|
||||
|
||||
{{ 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>
|
||||
{{ end }}
|
||||
{{- else -}}
|
||||
{{- if gt $i 0 }} {{ end -}}
|
||||
{{ else }}
|
||||
{{ if gt $i 0 }} {{ end }}
|
||||
|
||||
{{ if .RelPermalink }}
|
||||
<a class="badge paige-page-keyword-{{ $kind }} text-bg-secondary text-decoration-none" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
{{ else }}
|
||||
<span class="badge paige-page-keyword-{{ $kind }} text-bg-secondary">{{ .LinkTitle }}</span>
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ with $series }}
|
||||
<p class="paige-row-short paige-page-series text-center text-secondary">
|
||||
{{ range $i, $series := . -}}
|
||||
{{- if gt $i 0 }} · {{ end -}}
|
||||
{{ range $i, $series := . }}
|
||||
{{ if gt $i 0 }} · {{ end }}
|
||||
|
||||
{{ if .RelPermalink }}
|
||||
<a class="link-secondary" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
{{ else }}
|
||||
<span class="text-secondary">{{ .LinkTitle }}</span>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ with $authors }}
|
||||
<p class="paige-page-authors text-center paige-row-short text-secondary">
|
||||
{{ range $i, $author := . -}}
|
||||
{{- if gt $i 0 }} · {{ end -}}
|
||||
{{ range $i, $author := . }}
|
||||
{{ if gt $i 0 }} · {{ end }}
|
||||
|
||||
{{ if .RelPermalink }}
|
||||
<a class="link-secondary" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
{{ else }}
|
||||
<span class="text-secondary">{{ .LinkTitle }}</span>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
|
Reference in New Issue
Block a user