forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
72ff357ad5
commit
f1a6e3156a
|
@ -57,7 +57,7 @@
|
||||||
<guid>{{ .Permalink }}-{{ $hash }}</guid>
|
<guid>{{ .Permalink }}-{{ $hash }}</guid>
|
||||||
<description>
|
<description>
|
||||||
{{- if $when -}}{{- $when | plainify -}}{{- end -}}
|
{{- if $when -}}{{- $when | plainify -}}{{- end -}}
|
||||||
{{- $c := .Content | plainify -}}
|
{{- $c := .Content -}}
|
||||||
{{- if $when -}}{{- $c = printf "<p>%s</p>%s" $when $c -}}{{- end -}}
|
{{- if $when -}}{{- $c = printf "<p>%s</p>%s" $when $c -}}{{- end -}}
|
||||||
{{- $img := index (.Resources.ByType "image") 0 -}}
|
{{- $img := index (.Resources.ByType "image") 0 -}}
|
||||||
{{- with $img -}}
|
{{- with $img -}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user