Skip to content

Commit

Permalink
Correct element order on crossref.xml template
Browse files Browse the repository at this point in the history
  • Loading branch information
mauromsl committed Jul 11, 2019
1 parent 075c0a0 commit c5c5e10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/themes/default/templates/identifiers/crossref.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
<day>{% if date_published %}{{ date_published.day }}{% else %}{{ now.day }}{% endif %}</day>
<year>{% if date_published %}{{ date_published.year }}{% else %}{{ now.year }}{% endif %}</year>
</publication_date>
{% if license %}
<ai:program name="AccessIndicators">
<ai:license_ref>{{ license }}</ai:license_ref>
</ai:program>
{% endif %}
<doi_data>
<doi>{{ doi }}</doi>
<resource>{{ article_url }}</resource>
Expand All @@ -70,11 +75,6 @@
</item>
</collection>
</doi_data>
{% if license %}
<ai:program name="AccessIndicators">
<ai:license_ref>{{ license }}</ai:license_ref>
</ai:program>
{% endif %}
</journal_article>
</journal>
</body>
Expand Down

0 comments on commit c5c5e10

Please sign in to comment.