forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
f1a6e3156a
commit
6f233a5412
|
@ -58,6 +58,8 @@
|
|||
<description>
|
||||
{{- if $when -}}{{- $when | plainify -}}{{- end -}}
|
||||
{{- $c := .Content -}}
|
||||
{{- $c := replace $c "<img" "<img width=\"600\"" -}}
|
||||
|
||||
{{- if $when -}}{{- $c = printf "<p>%s</p>%s" $when $c -}}{{- end -}}
|
||||
{{- $img := index (.Resources.ByType "image") 0 -}}
|
||||
{{- with $img -}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user