ore updates i don't wanna split this up lbr

This commit is contained in:
2026-04-30 08:58:58 -07:00
parent 0abf2dd167
commit 5fa39c1148
12 changed files with 213 additions and 58 deletions

View File

@ -6,7 +6,7 @@ title: Fediverse Skillshare Classifieds
<div id="jump-links">
<h2>jump to...</h2>
<ul id="category-list">
<ul>
{% for tag in collections | getKeys | removeCoreTags | sortAlphabetically %}
<li>
<a href="#{{ tag | slugify }}">{{ tag }}</a>
@ -15,23 +15,24 @@ title: Fediverse Skillshare Classifieds
</ul>
</div>
<div id="ads">
<div id="listings">
{% for tag in collections | getKeys | removeCoreTags | sortAlphabetically %}
<div class="category">
<div class="category-title">
<h2>{{ tag }}</h2>
<p>{{ tag | getTagline }}</p>
</div>
{% for ad in collections[tag] %}
<div class="ad">
<h3>{{ ad.data.title }}</h3>
{% for listing in collections[tag] %}
<div class="listing">
<h3>{{ listing.data.title }}</h3>
<p class="blurb">
<a href="https://{{ ad.data.server }}/@{{ ad.data.handle }}"
target="_blank">@{{ ad.data.handle }}@{{ ad.data.server}}</a>
offers: {{ ad.data.blurb }}
<strong>
<a href="https://{{ listing.data.server }}/@{{ listing.data.handle }}"
target="_blank">@{{ listing.data.handle }}@{{ listing.data.server}}</a>
offers:</strong> {{ listing.data.blurb }}
</p>
<p class="listed-on">
listed on <time datetime="{{ ad.date | htmlDateString }}">{{ ad.date | readableDate() }}</time>
listed on <time datetime="{{ listing.date | htmlDateString }}">{{ listing.date | readableDate() }}</time>
</p>
</div>
{% endfor %}