_includes/concept-source.html in jekyll-geolexica-1.5.1 vs _includes/concept-source.html in jekyll-geolexica-1.5.2
- old
+ new
@@ -1,11 +1,6 @@
-{%- assign english = page["eng"] -%}
<section class="field source">
<p class="field-name">source</p>
<p class="field-value">
- {% if english.authoritative_source.link %}
- <a href="{{ english.authoritative_source.link }}">{{ english.authoritative_source.ref | default: english.authoritative_source.link | escape_once }}</a>{% if english.authoritative_source.clause %}, {{ english.authoritative_source.clause }}{% endif %}
- {% else %}
- {{ english.authoritative_source.ref }}{% if english.authoritative_source.clause %}, {{ english.authoritative_source.clause }}{% endif %}
- {% endif %}
+ {{ page["eng"].authoritative_source | display_authoritative_source }}
</p>
</section>