mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
Use trim to improve whitespace
This commit is contained in:
parent
160bb7e700
commit
809b930a3f
@ -1,14 +1,13 @@
|
|||||||
<blockquote>
|
<blockquote>
|
||||||
<p>{{ .Inner | markdownify }}</p>
|
<p>{{ .Inner | markdownify }}</p>
|
||||||
<span class="cite">
|
<span class="cite"><span>― </span>
|
||||||
<span>― </span>
|
{{- if .Get "author" -}}
|
||||||
{{ if .Get "author" }}
|
|
||||||
<span>
|
<span>
|
||||||
{{ .Get "author" }}{{ if .Get "source" }}, {{ end }}
|
{{- .Get "author" -}}{{- if .Get "source" -}}, {{ end -}}
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
{{ with .Get "url" }}<a href="{{ . }}">{{ end }}
|
{{- with .Get "url" -}}<a href="{{ . }}">{{- end -}}
|
||||||
<cite>{{ .Get "source" }}</cite>
|
<cite>{{ .Get "source" }}</cite>
|
||||||
{{ if .Get "url" }}</a>{{ end }}
|
{{- if .Get "url" -}}</a>{{- end -}}
|
||||||
</span>
|
</span>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
Loading…
Reference in New Issue
Block a user