Add enclosure to the rss feed

This commit is contained in:
Las Zenow 2013-09-18 23:58:05 +02:00
parent 9e4b92772c
commit 43856dcd9b

View file

@ -20,6 +20,7 @@
{{if .Isbn}}
<guid isPermaLink="false">ISBN: {{.Isbn}}</guid>
{{end}}
<enclosure url="{{$baseURL}}/download/{{.Id}}/{{.Title}}.epub" length="{{.FileSize}}" type="application/epub+zip" />
{{range .Subject}}
{{if .}}
<category>{{.}}</category>