diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index aef798f..8025cbd 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -134,6 +134,7 @@ }, "active": "7212df225ebf759a", "lastOpenFiles": [ + "content/tils/feed.njk", "content/tils/struct_pattern_matching.md", "content/tils/pdf_obsidian_at_page.md", "content/tils/asdf_direnv.md", @@ -169,7 +170,6 @@ "node_modules/slugify/CHANGELOG.md", "node_modules/markdown-it/node_modules/entities/readme.md", "node_modules/liquidjs/node_modules/commander/Readme.md", - "node_modules/minipass/node_modules/yallist/README.md", "_site/images/ultimate-dungeon-terrain-3.jpg", "_site/images/ultimate-dungeon-terrain-2.jpg", "_site/images/ultimate-dungeon-terrain-1.jpg", diff --git a/_includes/baselayout.njk b/_includes/baselayout.njk index 9784b3a..09f6c7e 100644 --- a/_includes/baselayout.njk +++ b/_includes/baselayout.njk @@ -45,7 +45,8 @@ href="https://gitlab.com/gaiety/gaiety-life" class="underline">fork it here.
- Subscribe to RSS + RSS, + TIL RSS
diff --git a/content/tils/feed.njk b/content/tils/feed.njk new file mode 100644 index 0000000..f164883 --- /dev/null +++ b/content/tils/feed.njk @@ -0,0 +1,39 @@ +---json +{ + "permalink": "feed.xml", + "eleventyExcludeFromCollections": true, + "metadata": { + "title": "Gaiety's Life", + "subtitle": "Programming, art, design, and other queer things.", + "url": "https://gaiety.life/", + "feedUrl": "https://gaiety.life/feed.xml", + "author": { + "name": "Ava Gaiety W.", + "email": "ava@wroten.me" + } + } +} +--- + + + {{ metadata.title }} + {{ metadata.subtitle }} + + + {{ collections.all | getNewestCollectionItemDate | dateToRfc3339 }} + {{ metadata.url }} + + {{ metadata.author.name }} + {{ metadata.author.email }} + + {%- for post in collections.tils %} + {% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %} + + {{ post.data.title }} + + {{ post.date | dateToRfc3339 }} + {{ absolutePostUrl }} + {{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }} + + {%- endfor %} +