This commit is contained in:
@ -6,7 +6,9 @@
|
||||
{% if link %}
|
||||
<a href="{{ link }}" style="text-decoration: none;">
|
||||
<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;">
|
||||
<i class="fas fa-download"></i> PDF
|
||||
</button>
|
||||
@ -18,15 +20,20 @@
|
||||
{% assign bibtex_json_data = entry.bibtex | jsonify %}
|
||||
|
||||
<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-filename='{{ bibtex_filename }}'
|
||||
|
||||
style="outline:none; position:relative; white-space: normal; margin-right: 5px; vertical-align: middle;">
|
||||
<i class="fas fa-download"></i> BibTeX
|
||||
</button>
|
||||
|
||||
<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 }}'
|
||||
style="outline:none; position:relative; white-space: normal; vertical-align: middle;">
|
||||
<i class="fas fa-clipboard"></i> Copy
|
||||
|
Reference in New Issue
Block a user