Files
fedilearns/src/index.njk

42 lines
1.2 KiB
Plaintext
Raw Normal View History

2026-04-29 08:30:52 -07:00
---
layout: base.njk
2026-04-29 21:12:19 -07:00
title: Fediverse Skillshare Classifieds
2026-04-29 08:30:52 -07:00
---
2026-04-29 21:12:19 -07:00
{% css %}{% include "css/home.css" %}{% endcss %}
2026-04-29 08:30:52 -07:00
2026-04-29 21:12:19 -07:00
<div id="jump-links">
<h2>jump to...</h2>
<ul>
2026-04-29 21:12:19 -07:00
{% for tag in collections | getKeys | removeCoreTags | sortAlphabetically %}
<li>
<a href="#{{ tag | slugify }}">{{ tag }}</a>
</li>
{% endfor %}
</ul>
</div>
2026-04-29 08:30:52 -07:00
<div id="listings">
2026-04-29 08:30:52 -07:00
{% for tag in collections | getKeys | removeCoreTags | sortAlphabetically %}
2026-04-29 21:12:19 -07:00
<div class="category">
<div class="category-title">
<h2>{{ tag }}</h2>
<p>{{ tag | getTagline }}</p>
</div>
{% for listing in collections[tag] %}
<div class="listing">
<h3>{{ listing.data.title }}</h3>
2026-04-29 21:12:19 -07:00
<p class="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 }}
2026-04-29 21:12:19 -07:00
</p>
<p class="listed-on">
listed on <time datetime="{{ listing.date | htmlDateString }}">{{ listing.date | readableDate() }}</time>
2026-04-29 21:12:19 -07:00
</p>
</div>
{% endfor %}
</div>
2026-04-29 08:30:52 -07:00
{% endfor %}
</div>