archive changes

This commit is contained in:
2023-12-03 19:26:30 +01:00
parent 26b791d183
commit f05c4517cd

View File

@ -17,6 +17,12 @@
<img src="{{ teaser | relative_url }}" alt=""> <img src="{{ teaser | relative_url }}" alt="">
</div> </div>
{% endif %} {% endif %}
{% if teaser and include.type != "grid"%}
<div class="archive__item-teaser-list">
<img src="{{ teaser | relative_url }}" alt="">
</div>
{% endif %}
<div style="display: block; float: inherit;">
<h2 class="archive__item-title no_toc" itemprop="headline"> <h2 class="archive__item-title no_toc" itemprop="headline">
{% if post.link %} {% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a> <a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
@ -26,5 +32,6 @@
</h2> </h2>
{% include page__meta.html type=include.type %} {% include page__meta.html type=include.type %}
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %} {% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</div>
</article> </article>
</div> </div>