Skip to content

Commit

Permalink
Reference license information in EML template to avoid blank entries
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceMarshall committed Jun 16, 2023
1 parent c7fd2d6 commit aa5476d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/emlTemplate.j2
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<intellectualRights>
<para>
This work is licensed under
<ulink url="{{ record.license.url }}">
<citetitle>{{ record.license.title }}</citetitle>
<ulink url="{{ licenses[record.license]?.url }}">
<citetitle>{{ licenses[record.license]?.title }}</citetitle>
</ulink>
.
</para>
Expand Down Expand Up @@ -88,14 +88,14 @@
</rangeOfDates>
</temporalCoverage>
</coverage>

<maintenance>
<description>
<para/>
</description>
<maintenanceUpdateFrequency>asNeeded</maintenanceUpdateFrequency>
</maintenance>


{% for contact in record.contacts %}
{% if arrayOverlap(['pointOfContact', 'owner', 'author'],contact.role) %}
Expand Down

0 comments on commit aa5476d

Please sign in to comment.