feat: refactor blogroll
This commit is contained in:
parent
45a605a4bf
commit
072b3943b6
7 changed files with 96 additions and 32 deletions
16
src/pages/opml.liquid
Normal file
16
src/pages/opml.liquid
Normal 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>
|
Reference in a new issue