]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
add collection tags to link list
authorCameron Otsuka <cameron@otsuka.haus>
Thu, 30 Jan 2025 03:01:46 +0000 (19:01 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Thu, 30 Jan 2025 03:01:46 +0000 (19:01 -0800)
_includes/components/linkslist.njk
content/links/were-ripping-off-the-cuff-about-dollar-rallying-rates-stargate-and-deepseek-listen-in.md

index b7c921d..c2f05ff 100644 (file)
@@ -8,6 +8,11 @@
 {%- for link in linkslist %}
     <dt><a href="{{ link.url }}">{{ link.data.title }}</a></dt>
     <dd>
+        {% if "livestream" in link.data.tags %}
+            <small class="collectiontag">livestream</small>
+        {% elseif "podcast" in link.data.tags %}
+            <small class="collectiontag">podcast</small>
+        {% endif %}
         {{ link.data.description }}
     </dd>
 {%- endfor %}