chore: consolidate feeds + meta to clean up top level src
This commit is contained in:
parent
4dca0dfb3e
commit
2b59bf9d24
12 changed files with 5 additions and 5 deletions
8
src/pages/meta/ai.liquid
Normal file
8
src/pages/meta/ai.liquid
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
permalink: "/ai.txt"
|
||||
eleventyExcludeFromCollections: true
|
||||
dynamicPermalink: false
|
||||
---
|
||||
User-Agent: *
|
||||
Disallow: /
|
||||
Disallow: *
|
17
src/pages/meta/opml.liquid
Normal file
17
src/pages/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.rss_feed }}" htmlUrl="{{ blog.url }}"/>
|
||||
{%- endfor -%}
|
||||
</body>
|
||||
</opml>
|
14
src/pages/meta/robots.liquid
Normal file
14
src/pages/meta/robots.liquid
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
permalink: "/robots.txt"
|
||||
eleventyExcludeFromCollections: true
|
||||
dynamicPermalink: false
|
||||
---
|
||||
Sitemap: https://coryd.dev/sitemap.xml
|
||||
|
||||
User-agent: *
|
||||
Disallow:
|
||||
|
||||
{% for robot in robots -%}
|
||||
User-agent: {{ robot }}
|
||||
{% endfor -%}
|
||||
Disallow: /
|
15
src/pages/meta/sitemap.liquid
Normal file
15
src/pages/meta/sitemap.liquid
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
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.siteMap %}
|
||||
<url>
|
||||
<loc>{{ globals.url }}{{ page.url }}</loc>
|
||||
<lastmod>{{ page.date | date: '%Y-%m-%d' }}</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>
|
||||
{% endfor %}
|
||||
</urlset>
|
Reference in a new issue