feat: add data-type attributes to feed cards; restyle story card with full border

This commit is contained in:
2026-06-19 21:26:50 +02:00
parent 650e97883b
commit 2508936928
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -74,7 +74,7 @@
{% endif %}
{% if item.type == 'journal' %}
<article class="entry-card" id="entry-{{ entry.slug }}" data-lat="{{ entry.header.lat }}" data-lng="{{ entry.header.lng }}">
<article class="entry-card" id="entry-{{ entry.slug }}" data-type="journal" data-lat="{{ entry.header.lat }}" data-lng="{{ entry.header.lng }}">
<a class="entry-card-inner" href="{{ entry.url }}">
{% if hero %}
<div class="entry-card-photo">
@@ -116,7 +116,7 @@
</a>
</article>
{% else %}
<article class="entry-card entry-card--story" id="entry-{{ entry.slug }}">
<article class="entry-card entry-card--story" id="entry-{{ entry.slug }}" data-type="story">
<a class="entry-card-inner" href="{{ entry.url }}">
{% if hero %}
<div class="entry-card-photo entry-card-photo--story">