Alexander O'Neill
6 years ago
12 changed files with 209 additions and 29 deletions
@ -1,9 +1,15 @@ |
|||||||
name: 'BibCite Footnotes' |
name: 'BibCite Footnotes' |
||||||
type: module |
type: module |
||||||
description: 'Inline footnote links for BibCite References' |
description: 'Inline footnote links for BibCite References' |
||||||
core: 8.x |
# core: 8.x |
||||||
package: 'Bibliography & Citation' |
package: 'Bibliography & Citation' |
||||||
dependencies: |
dependencies: |
||||||
- bibcite:bibcite |
- bibcite:bibcite |
||||||
- bibcite:bibcite_entity |
- bibcite:bibcite_entity |
||||||
- footnotes:footnotes |
- footnotes:footnotes |
||||||
|
|
||||||
|
# Information added by Drupal.org packaging script on 2018-07-30 |
||||||
|
version: '8.x-1.0-alpha5' |
||||||
|
core: '8.x' |
||||||
|
project: 'bibcite_footnotes' |
||||||
|
datestamp: 1532941092 |
||||||
|
@ -0,0 +1,5 @@ |
|||||||
|
reference_footnote: |
||||||
|
version: VERSION |
||||||
|
css: |
||||||
|
theme: |
||||||
|
css/reference_footnote.css: {} |
@ -0,0 +1,8 @@ |
|||||||
|
|
||||||
|
.footnotes .footnote .footnote-link { |
||||||
|
float: left; |
||||||
|
} |
||||||
|
.footnotes .footnote .footnote-link::after { |
||||||
|
content: " "; |
||||||
|
white-space: pre; |
||||||
|
} |
Binary file not shown.
Before Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1,21 @@ |
|||||||
|
{# |
||||||
|
/** |
||||||
|
* @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 |
||||||
|
*/ |
||||||
|
#} |
||||||
|
|
||||||
|
<div{{ attributes.addClass('footnote-list') }}> |
||||||
|
{{ notes }} |
||||||
|
{{ references }} |
||||||
|
</div> |
Loading…
Reference in new issue