Skip to content

Commit

Permalink
Modify theme to allow teaser images on all previews. Based on mmistak…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jcrash29 committed Dec 14, 2020
1 parent 144cfee commit 006b046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/archive-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="{{ include.type | default: 'list' }}__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
{% if include.type == "grid" and teaser %}
{% if include.type == "grid" or teaser %}
<div class="archive__item-teaser">
<img src="{{ teaser | relative_url }}" alt="">
</div>
Expand Down

0 comments on commit 006b046

Please sign in to comment.