You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
801 B
34 lines
801 B
6 years ago
|
{#
|
||
|
/**
|
||
|
* @file footnote-list.html.twig
|
||
|
* Default theme implementation to present a list of reference footnotes.
|
||
|
*
|
||
|
* Available variables:
|
||
|
* - footnotess: A list of footnotes
|
||
|
* - notes: A list of free-form notes
|
||
|
* - references: A list of citations
|
||
|
* - attributes: HTML attributes for the container element.
|
||
|
*
|
||
|
* @see template_preprocess_footnote_list().
|
||
|
*
|
||
|
* @ingroup themeable
|
||
|
*/
|
||
|
#}
|
||
|
|
||
|
{% if notes['#title'] == "Notes" %}
|
||
|
<div{{ attributes.addClass('notes footnote-list') }}>
|
||
|
{{ notes }}
|
||
|
{{ references }}
|
||
|
</div>
|
||
|
{% elseif notes['#title'] == "Works Cited" %}
|
||
|
<div{{ attributes.addClass('works_cited footnote-list') }}>
|
||
|
{{ notes }}
|
||
|
{{ references }}
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div{{ attributes.addClass('footnote-list') }}>
|
||
|
{{ notes }}
|
||
|
{{ references }}
|
||
|
</div>
|
||
|
{% endif %}
|