This commit is contained in:
@ -6,7 +6,9 @@
|
|||||||
{% if link %}
|
{% if link %}
|
||||||
<a href="{{ link }}" style="text-decoration: none;">
|
<a href="{{ link }}" style="text-decoration: none;">
|
||||||
<button class="btn btnId btnPub--action btnPub--pdf-download"
|
<button class="btn btnId btnPub--action btnPub--pdf-download"
|
||||||
data-umami-event="PDF Download - {{ entry.key | default: 'ref' }} - {{ page.slug | default: 'unknown-page' }}"
|
data-umami-event="PDF Download"
|
||||||
|
data-umami-event-bibkey="{{ entry.key | default: 'ref' }}"
|
||||||
|
data-umami-event-slug="{{ page.slug | default: 'unknown-page' }}"
|
||||||
style="outline:none; position:relative; white-space: normal; margin-right: 5px; vertical-align: middle;">
|
style="outline:none; position:relative; white-space: normal; margin-right: 5px; vertical-align: middle;">
|
||||||
<i class="fas fa-download"></i> PDF
|
<i class="fas fa-download"></i> PDF
|
||||||
</button>
|
</button>
|
||||||
@ -18,15 +20,20 @@
|
|||||||
{% assign bibtex_json_data = entry.bibtex | jsonify %}
|
{% assign bibtex_json_data = entry.bibtex | jsonify %}
|
||||||
|
|
||||||
<button type="button" class="btn btnId btnPub--action btnPub--bibtex-download-direct"
|
<button type="button" class="btn btnId btnPub--action btnPub--bibtex-download-direct"
|
||||||
data-umami-event="BibTeX File Download - {{ entry.key | default: 'ref' }} - {{ page.slug | default: 'unknown-page' }}"
|
data-umami-event="BibTeX File Download"
|
||||||
|
data-umami-event-bibkey="{{ entry.key | default: 'ref' }}"
|
||||||
|
data-umami-event-slug="{{ page.slug | default: 'unknown-page' }}"
|
||||||
data-bibtex-json='{{ bibtex_json_data }}'
|
data-bibtex-json='{{ bibtex_json_data }}'
|
||||||
data-bibtex-filename='{{ bibtex_filename }}'
|
data-bibtex-filename='{{ bibtex_filename }}'
|
||||||
|
|
||||||
style="outline:none; position:relative; white-space: normal; margin-right: 5px; vertical-align: middle;">
|
style="outline:none; position:relative; white-space: normal; margin-right: 5px; vertical-align: middle;">
|
||||||
<i class="fas fa-download"></i> BibTeX
|
<i class="fas fa-download"></i> BibTeX
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button type="button" class="btn btnId btnPub--action btnPub--bibtex-copy-direct"
|
<button type="button" class="btn btnId btnPub--action btnPub--bibtex-copy-direct"
|
||||||
data-umami-event="BibTeX Copy - {{ entry.key | default: 'ref' }} - {{ page.slug | default: 'unknown-page' }}"
|
data-umami-event="BibTeX Copy"
|
||||||
|
data-umami-event-bibkey="{{ entry.key | default: 'ref' }}"
|
||||||
|
data-umami-event-slug="{{ page.slug | default: 'unknown-page' }}"
|
||||||
data-bibtex-json='{{ bibtex_json_data }}'
|
data-bibtex-json='{{ bibtex_json_data }}'
|
||||||
style="outline:none; position:relative; white-space: normal; vertical-align: middle;">
|
style="outline:none; position:relative; white-space: normal; vertical-align: middle;">
|
||||||
<i class="fas fa-clipboard"></i> Copy
|
<i class="fas fa-clipboard"></i> Copy
|
||||||
|
Reference in New Issue
Block a user