feat: refactor blogroll

This commit is contained in:
Cory Dransfeldt 2024-01-25 13:02:01 -08:00
parent 45a605a4bf
commit 072b3943b6
No known key found for this signature in database
7 changed files with 96 additions and 32 deletions

16
src/pages/opml.liquid Normal file
View file

@ -0,0 +1,16 @@
---
permalink: /blogroll.opml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>OPML for all feeds in Cory Dransfeldt's blogroll</title>
<dateCreated>{{ page.date | dateToRfc822 }}</dateCreated>
</head>
<body>
{%- for blog in blogroll -%}
<outline text="{{ blog.name }}" title="{{ blog.name }}" type="rss" xmlUrl="{{ blog.feed }}" htmlUrl="{{ blog.url }}"/>
{% endfor %}
</body>
</opml>