chore: bug fixes, organization, metadata
This commit is contained in:
parent
ebdcf8021e
commit
63e8c2ec30
21 changed files with 54 additions and 78 deletions
17
src/meta/opml.liquid
Normal file
17
src/meta/opml.liquid
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
permalink: /blogroll.opml
|
||||
layout: null
|
||||
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 | stringToRFC822Date }}</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>
|
17
src/meta/sitemap.liquid
Normal file
17
src/meta/sitemap.liquid
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
permalink: /sitemap.xml
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{% for page in collections.all %}
|
||||
{% if not page.data.draft %}
|
||||
<url>
|
||||
<loc>{{ meta.url }}{{ page.url }}</loc>
|
||||
<lastmod>{{ page.date | isoDateOnly: '-' }}</lastmod>
|
||||
<changefreq>{%- if page.data.changeFreq -%}{{ page.data.changeFreq }}{%- else -%}monthly{%- endif -%}</changefreq>
|
||||
<priority>{%- if page.data.priority -%}{{ page.data.priority }}{%- else -%}0.5{%- endif %}</priority>
|
||||
</url>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</urlset>
|
Reference in a new issue