Remove whitespace formatting
This commit is contained in:
@@ -53,33 +53,33 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
{{ with $series }}
|
{{ with $series }}
|
||||||
<p class="mb-0 text-center text-secondary" id="paige-series">
|
<p class="mb-0 text-center text-secondary" id="paige-series">
|
||||||
{{ range $i, $name := . -}}
|
{{ range $i, $name := . }}
|
||||||
{{- if gt $i 0 }}, {{ end -}}
|
{{ if gt $i 0 }}, {{ end }}
|
||||||
|
|
||||||
{{- with site.GetPage (print "series/" $name) -}}
|
{{ with site.GetPage (print "series/" $name) }}
|
||||||
<a class="link-secondary" href="{{ .RelPermalink }}">{{ .Title | default $name }}</a>
|
<a class="link-secondary" href="{{ .RelPermalink }}">{{ .Title | default $name }}</a>
|
||||||
{{- else -}}
|
{{ else }}
|
||||||
{{- $name -}}
|
{{ $name }}
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
{{- end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with $authors }}
|
{{ with $authors }}
|
||||||
<p class="mb-0 text-center text-secondary" id="paige-authors">
|
<p class="mb-0 text-center text-secondary" id="paige-authors">
|
||||||
{{ range $i, $author := . -}}
|
{{ range $i, $author := . }}
|
||||||
{{- if gt $i 0 }}, {{ end -}}
|
{{ if gt $i 0 }}, {{ end }}
|
||||||
|
|
||||||
{{- with $author.id -}}
|
{{ with $author.id }}
|
||||||
{{- with site.GetPage (print "authors/" .) -}}
|
{{ with site.GetPage (print "authors/" .) }}
|
||||||
<a class="link-secondary" href="{{ .RelPermalink }}">{{ .Title | default $author.name }}</a>
|
<a class="link-secondary" href="{{ .RelPermalink }}">{{ .Title | default $author.name }}</a>
|
||||||
{{- else -}}
|
{{ else }}
|
||||||
{{- $author.name -}}
|
{{ $author.name }}
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
{{- else -}}
|
{{ else }}
|
||||||
{{- $author.name -}}
|
{{ $author.name }}
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
{{- end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user