forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
7b3ae2faad
commit
44ec3ceb55
|
@ -36,12 +36,12 @@
|
||||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>
|
<description>
|
||||||
|
{{ printf "<![CDATA[%s]]>" .Content | safeHTML }}
|
||||||
{{ $img := index (.Resources.ByType "image") 0 }}
|
{{ $img := index (.Resources.ByType "image") 0 }}
|
||||||
{{ with $img }}
|
{{ with $img }}
|
||||||
{{ $img := .Resize "640x" }}
|
{{ $img := .Resize "640x" }}
|
||||||
{{ printf "<![CDATA[<img src=\"%s\" width=\"%d\" height=\"%d\"/>]]>" $img.Permalink $img.Width $img.Height | safeHTML }}
|
{{ printf "<![CDATA[<img src=\"%s\" width=\"%d\" height=\"%d\"/>]]>" $img.Permalink $img.Width $img.Height | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ printf "<![CDATA[%s]]>" .Content | safeHTML }}
|
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user