Skip to content

Commit a4074a9

Browse files
author
Pablo Ruiz Fabo
committed
removes anchor over publication thumbnail cos bad interaction when zoomable
1 parent 5ae8ee8 commit a4074a9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

_layouts/bib.liquid

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@
2525
<abbr class="badge rounded w-100">{{ entry.abbr }}</abbr>
2626
{% endif %}
2727
{% endif %}
28+
{% comment % }
2829
<!-- added for clickable thumbnail -->
30+
<!-- then removed cos bad interaction with zoom -->
2931
{% if entry.url %} <a target="_blank" href="{{entry.url}}"> {% else %} <a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}"> {% endif %}
32+
{% endcomment %}
3033
{% if entry.preview %}
3134
{% if entry.preview contains '://' %}
3235
<img class="preview z-depth-1 rounded" src="{{ entry.preview }}">
@@ -44,7 +47,7 @@
4447
%}
4548
{% endif %}
4649
{% endif %}
47-
</a>
50+
<!-- </a> -->
4851
</div>
4952
{% endif %}
5053

0 commit comments

Comments
 (0)