Rename author to authors and subject to tags
This commit is contained in:
parent
e72de38725
commit
7f9c172853
17 changed files with 37 additions and 39 deletions
|
@ -61,7 +61,7 @@
|
|||
<id>{{$baseurl}}/book/{{.Id}}</id>
|
||||
<updated>{{$updated}}</updated>
|
||||
|
||||
{{range .Author}}
|
||||
{{range .Authors}}
|
||||
<author>
|
||||
<name>{{html .}}</name>
|
||||
</author>
|
||||
|
@ -83,7 +83,7 @@
|
|||
{{if .Lang}}
|
||||
<dcterms:language>{{.Lang}}</dcterms:language>
|
||||
{{end}}
|
||||
{{range .Subject}}
|
||||
{{range .Tags}}
|
||||
<category term="{{html .}}"
|
||||
label="{{html .}}"/>
|
||||
{{end}}
|
||||
|
|
Reference in a new issue