Files
fedilearns/src/index.njk

50 lines
1.4 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
<div class="wip">
<p>
Hey! This is in early days, so please forgive the lack of real data. Any listing
that is greyed out is sample data, and should be ignored. As I get real listings,
I'll replace the samples!
</p>
</div>
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{% if listing.data.draft %} draft{% endif %}">
<h3>{{ listing.data.title }}</h3>
2026-04-29 21:12:19 -07:00
<p class="blurb">
<strong>
2026-05-01 12:15:33 -07:00
<a href="https://{{ listing.data.url }}"
target="_blank">{{ listing.data.handle }}</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>