Convert Id to ID

This commit is contained in:
Las Zenow 2016-07-30 07:59:30 -04:00
parent f12114c296
commit 52b9882be9
17 changed files with 76 additions and 78 deletions

View file

@ -58,7 +58,7 @@
{{range .Books}}
<entry>
<title>{{html .Title}}</title>
<id>{{$baseurl}}/book/{{.Id}}</id>
<id>{{$baseurl}}/book/{{.ID}}</id>
<updated>{{$updated}}</updated>
{{range .Authors}}
@ -89,11 +89,11 @@
{{end}}
<summary>{{html .Description}}</summary>
<link type="image/jpeg" href="/cover/{{.Id}}/big/cover.jpg" rel="http://opds-spec.org/image"/>
<link type="image/jpg" href="/cover/{{.Id}}/small/thumbnail.jpg" rel="http://opds-spec.org/image/thumbnail" />
<link type="image/jpeg" href="/cover/{{.ID}}/big/cover.jpg" rel="http://opds-spec.org/image"/>
<link type="image/jpg" href="/cover/{{.ID}}/small/thumbnail.jpg" rel="http://opds-spec.org/image/thumbnail" />
<link rel="http://opds-spec.org/acquisition"
href="/download/{{.Id}}/{{urlquery .Title}}.epub"
href="/download/{{.ID}}/{{urlquery .Title}}.epub"
type="application/epub+zip" />
</entry>
{{end}}