From bef2373fadbd4587a4d54438ec7cc334927d4b0e Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Fri, 1 May 2026 17:07:58 -0700 Subject: [PATCH] add ads tag to listings, title change for listing, some cleanup --- _config/filters.js | 2 +- _data/metadata.js | 4 ++-- eleventy.config.js | 3 +-- src/ads/ads.11tydata.js | 3 +++ src/ads/mariyadelano-hachyderm-io.md | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/_config/filters.js b/_config/filters.js index 791ef24..5e03be1 100644 --- a/_config/filters.js +++ b/_config/filters.js @@ -60,7 +60,7 @@ export default function(eleventyConfig) { /* Filter out structural tags */ eleventyConfig.addFilter("removeCoreTags", (tags) => { - return tags.filter(tag => ["all"].indexOf(tag) === -1); + return tags.filter(tag => ["all", "ads"].indexOf(tag) === -1); }); /* What it says on the tin */ diff --git a/_data/metadata.js b/_data/metadata.js index f675ea5..d2c81cd 100644 --- a/_data/metadata.js +++ b/_data/metadata.js @@ -1,6 +1,6 @@ export default { title: "Fediverse Skillshare Classifieds", - description: "Skillshares and more", - url: "", + description: "Skillshare listings for the Fediverse", + url: "https://inherentlee.codeberg.page/fedi-skillshares", author: "Lee Cattarin" } diff --git a/eleventy.config.js b/eleventy.config.js index 55404de..e2968e7 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -1,5 +1,4 @@ -import { HtmlBasePlugin } from "@11ty/eleventy"; -import { IdAttributePlugin } from "@11ty/eleventy"; +import { HtmlBasePlugin, IdAttributePlugin } from "@11ty/eleventy"; import pluginFilters from "./_config/filters.js"; diff --git a/src/ads/ads.11tydata.js b/src/ads/ads.11tydata.js index 4a19181..990a8ea 100644 --- a/src/ads/ads.11tydata.js +++ b/src/ads/ads.11tydata.js @@ -1,3 +1,6 @@ export default { permalink: false, + tags: [ + "ads" + ] }; diff --git a/src/ads/mariyadelano-hachyderm-io.md b/src/ads/mariyadelano-hachyderm-io.md index 93b6f8c..2ad089f 100644 --- a/src/ads/mariyadelano-hachyderm-io.md +++ b/src/ads/mariyadelano-hachyderm-io.md @@ -1,5 +1,5 @@ --- -title: Answers to Your Dumb Marketing Questions +title: Answers to Your Silly Marketing Questions handle: "@mariyadelano@hachyderm.io" url: "hachyderm.io/@mariyadelano" tags: business