{% comment %}

    Adds a box to highlight rights information if item has a "rights" or "rightsstatement" field.

{%- endcomment -%}
<div class="card">
    <div class="card-header">Rights</div>
    <div class="card-body">
        <dl>
            {% if page.rights %}<dt>Rights:</dt>
            <dd>{{ page.rights }}</dd>{% endif %}
            {% if page.rightsstatement %}<dt>Standardized Rights:</dt>
            <dd><a href="{{ page.rightsstatement }}">{{ page.rightsstatement }}</a>
            </dd>{% endif %}
        </dl>
    </div>
</div>