Add enclosure to the rss feed
This commit is contained in:
parent
9e4b92772c
commit
43856dcd9b
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue