فهرست منبع

[doifile.tmpl] Render both Name and Citation for refs

Backwards compatible template so that older Datacite.yml files are still
rendered properly.
No need for conditionals, since empty fields will have no effect.
Achilleas Koutsou 5 سال پیش
والد
کامیت
56cb70c062
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      templates/repo/doifile.tmpl

+ 1 - 1
templates/repo/doifile.tmpl

@@ -42,7 +42,7 @@
 				<td>References</td>
 				<td>
 					{{range $index, $ref := .DOIInfo.References}}
-						{{ $ref.Name }} [{{ $ref.ID }}] ({{ $ref.Reftype }})
+						{{ $ref.Name }} {{ $ref.Citation }} [{{ $ref.ID }}] ({{ $ref.Reftype }})
 						<br>
 					{{end}}
 				</td>