Compare commits
2
Commits
439e207539
...
5312c4a37a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5312c4a37a | ||
|
|
bfb03575fb |
No files matched your search
+8
-2
@@ -1,6 +1,7 @@
|
||||
import { DateTime } from "luxon";
|
||||
|
||||
export default function(eleventyConfig) {
|
||||
/* Filter by date */
|
||||
eleventyConfig.addFilter("filterByDate", (listings, date) => {
|
||||
date = DateTime.fromISO(date, { zone: "utc" });
|
||||
return listings.filter((listing) => {
|
||||
@@ -9,12 +10,17 @@ export default function(eleventyConfig) {
|
||||
});
|
||||
})
|
||||
|
||||
/* Filter by tag */
|
||||
eleventyConfig.addFilter("filterByTag", (listings, tag) => {
|
||||
return listings.filter(listing => listing.data.tags.includes(tag));
|
||||
});
|
||||
|
||||
// Return the keys used in an object
|
||||
eleventyConfig.addFilter("getKeys", target => {
|
||||
return Object.keys(target);
|
||||
});
|
||||
|
||||
/* */
|
||||
/* Taglines for each category */
|
||||
eleventyConfig.addFilter("getTagline", tag => {
|
||||
let tagline;
|
||||
switch (tag) {
|
||||
@@ -68,7 +74,7 @@ export default function(eleventyConfig) {
|
||||
|
||||
/* Filter out structural tags */
|
||||
eleventyConfig.addFilter("removeCoreTags", (tags) => {
|
||||
return tags.filter(tag => ["all", "ads", "daily"].indexOf(tag) === -1);
|
||||
return tags.filter(tag => ["all", "daily", "offers", "requests"].indexOf(tag) === -1);
|
||||
});
|
||||
|
||||
/* What it says on the tin */
|
||||
|
||||
+1
-1
@@ -234,6 +234,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/404.html` was built on 2026-05-06T03:19:36.194Z -->
|
||||
<!-- This page `/404.html` was built on 2026-05-06T14:27:33.732Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -281,6 +281,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/about/` was built on 2026-05-06T03:19:36.193Z -->
|
||||
<!-- This page `/about/` was built on 2026-05-06T14:27:33.732Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -485,6 +485,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/daily/2026-04-29/` was built on 2026-05-06T03:19:36.189Z -->
|
||||
<!-- This page `/daily/2026-04-29/` was built on 2026-05-06T14:27:33.727Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -585,6 +585,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/daily/2026-05-01/` was built on 2026-05-06T03:19:36.189Z -->
|
||||
<!-- This page `/daily/2026-05-01/` was built on 2026-05-06T14:27:33.727Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -583,6 +583,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/daily/2026-05-02/` was built on 2026-05-06T03:19:36.189Z -->
|
||||
<!-- This page `/daily/2026-05-02/` was built on 2026-05-06T14:27:33.728Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -521,6 +521,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/daily/2026-05-03/` was built on 2026-05-06T03:19:36.189Z -->
|
||||
<!-- This page `/daily/2026-05-03/` was built on 2026-05-06T14:27:33.728Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -547,6 +547,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/daily/2026-05-04/` was built on 2026-05-06T03:19:36.189Z -->
|
||||
<!-- This page `/daily/2026-05-04/` was built on 2026-05-06T14:27:33.728Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -495,6 +495,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/daily/2026-05-05/` was built on 2026-05-06T03:19:36.190Z -->
|
||||
<!-- This page `/daily/2026-05-05/` was built on 2026-05-06T14:27:33.728Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -266,6 +266,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/daily/` was built on 2026-05-06T03:19:36.193Z -->
|
||||
<!-- This page `/daily/` was built on 2026-05-06T14:27:33.732Z -->
|
||||
</body>
|
||||
</html>
|
||||
+25
-2
@@ -384,6 +384,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="home-gardening-including-low-spoons">🌿Home gardening - including low spoons 🪴🧑🏼🦽</h3>
|
||||
<p class="blurb">
|
||||
@@ -449,6 +450,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="art-design-critique-and-encouragement">Art/design critique and encouragement</h3>
|
||||
<p class="blurb">
|
||||
@@ -514,6 +516,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="ama-about-parkrun">AMA about parkrun</h3>
|
||||
<p class="blurb">
|
||||
@@ -565,6 +568,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="answers-to-your-silly-marketing-questions">Answers to Your Silly Marketing Questions</h3>
|
||||
<p class="blurb">
|
||||
@@ -588,6 +592,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="how-do-i-make-this-without-meat-dairy-eggs">How do I make this without meat/dairy/eggs?!</h3>
|
||||
<p class="blurb">
|
||||
@@ -625,6 +630,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="applied-statistics">Applied statistics</h3>
|
||||
<p class="blurb">
|
||||
@@ -691,9 +697,22 @@ a[aria-current="page"] {
|
||||
<p>better livin'</p>
|
||||
</div>
|
||||
|
||||
<p>No listings.</p>
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="reading-tarot-for-personal-introspection">Reading Tarot for Personal Introspection</h3>
|
||||
<p class="blurb">
|
||||
<strong>
|
||||
<a href="https://pagan.plus/@syd" target="_blank">@syd@pagan.plus</a>
|
||||
offers:</strong> Interested in tarot? Have a deck you don't know what to do with? I can talk you through the basics of reading tarot for personal insight, including the tarot journaling practice I used to learn the card meanings and a simple three card spread for routine readings.
|
||||
</p>
|
||||
|
||||
<p class="listed-on">
|
||||
listed on <time datetime="2026-05-06">May 6, 2026</time>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="category">
|
||||
@@ -703,6 +722,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="learn-lockpicking-with-alice">Learn Lockpicking with Alice</h3>
|
||||
<p class="blurb">
|
||||
@@ -726,6 +746,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="assistance-with-basic-car-repair-maintenance">Assistance with basic car repair/maintenance</h3>
|
||||
<p class="blurb">
|
||||
@@ -791,6 +812,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="getting-started-on-digital-privacy">Getting started on digital privacy</h3>
|
||||
<p class="blurb">
|
||||
@@ -888,6 +910,7 @@ a[aria-current="page"] {
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="listing">
|
||||
<h3 id="scientific-paper-editing">Scientific paper editing</h3>
|
||||
<p class="blurb">
|
||||
@@ -940,6 +963,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/` was built on 2026-05-06T03:19:36.194Z -->
|
||||
<!-- This page `/` was built on 2026-05-06T14:27:33.732Z -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -346,6 +346,6 @@ a[aria-current="page"] {
|
||||
</footer>
|
||||
|
||||
|
||||
<!-- This page `/submit/` was built on 2026-05-06T03:19:36.194Z -->
|
||||
<!-- This page `/submit/` was built on 2026-05-06T14:27:33.732Z -->
|
||||
</body>
|
||||
</html>
|
||||
+3
-2
@@ -21,10 +21,11 @@ title: FediLearns Classifieds
|
||||
<h2>{{ tag }}</h2>
|
||||
<p>{{ tag | getTagline }}</p>
|
||||
</div>
|
||||
{% if collections[tag].length == 0 %}
|
||||
{% set listings = collections[tag] | filterByTag("offers") %}
|
||||
{% if listings | length == 0 %}
|
||||
<p>No listings.</p>
|
||||
{% endif %}
|
||||
{% for listing in collections[tag] | sortAlphabeticallyByTitle %}
|
||||
{% for listing in listings | sortAlphabeticallyByTitle %}
|
||||
{% include "listing.njk" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title:
|
||||
handle: "@holothuroid@rollenspiel.social"
|
||||
url: "rollenspiel.social/@holothuroid"
|
||||
blurb:
|
||||
rate:
|
||||
date:
|
||||
---
|
||||
File renamed without changes.
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "Reading Tarot for Personal Introspection"
|
||||
handle: "@syd@pagan.plus"
|
||||
url: "pagan.plus/@syd"
|
||||
blurb: "Interested in tarot? Have a deck you don't know what to do with? I can talk you through the basics of reading tarot for personal insight, including the tarot journaling practice I used to learn the card meanings and a simple three card spread for routine readings."
|
||||
rate:
|
||||
date: 2026-05-06
|
||||
---
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
|
||||
export default {
|
||||
permalink: false,
|
||||
tags: [
|
||||
"ads"
|
||||
"offers"
|
||||
]
|
||||
};
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user