Initial commit
This commit is contained in:
17
_includes/item/rights-box.html
Normal file
17
_includes/item/rights-box.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% 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>
|
||||
Reference in New Issue
Block a user