Files
bqkc/.github/_includes/item/rights-box.html
Nasir Anthony Montalvo 0a854da998 reconnect
2026-01-26 02:25:43 -06:00

17 lines
549 B
HTML

{% 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>