We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cde1bb commit f0cfd60Copy full SHA for f0cfd60
1 file changed
_layouts/bib.liquid
@@ -2,8 +2,8 @@
2
---
3
<div class="row">
4
{% if site.enable_publication_thumbnails %}
5
- <div class="col-sm-3 {% if entry.preview and (entry.selected == true or entry.selected == 'true') %}preview{% else %}abbr{% endif %}">
6
- {% if entry.preview and (entry.selected == true or entry.selected == 'true') %}
+ <div class="col-sm-3 {% if entry.preview %}preview{% else %}abbr{% endif %}">
+ {% if entry.preview %}
7
{% if entry.preview contains '://' %}
8
<img class="preview z-depth-1 rounded" src="{{ entry.preview }}">
9
{% else %}
0 commit comments