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}}
|
{{if .Isbn}}
|
||||||
<guid isPermaLink="false">ISBN: {{.Isbn}}</guid>
|
<guid isPermaLink="false">ISBN: {{.Isbn}}</guid>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
<enclosure url="{{$baseURL}}/download/{{.Id}}/{{.Title}}.epub" length="{{.FileSize}}" type="application/epub+zip" />
|
||||||
{{range .Subject}}
|
{{range .Subject}}
|
||||||
{{if .}}
|
{{if .}}
|
||||||
<category>{{.}}</category>
|
<category>{{.}}</category>
|
||||||
|
|
Reference in a new issue