feat: add feeds page (#6)
* feat: add feeds page * feat: rename posts feed url
This commit is contained in:
parent
75902fd510
commit
183380f70d
5 changed files with 20 additions and 8 deletions
|
@ -3,7 +3,8 @@ http://devinlumley.com/* https://wonderfulfrog.com/:splat 301
|
||||||
https://devinlumley.com/* https://wonderfulfrog.com/:splat 301
|
https://devinlumley.com/* https://wonderfulfrog.com/:splat 301
|
||||||
|
|
||||||
# RSS
|
# RSS
|
||||||
/rss.xml /feed.xml 301
|
/rss.xml /feeds/posts 301
|
||||||
|
/feed.xml /feeds/posts 301
|
||||||
|
|
||||||
# Pages
|
# Pages
|
||||||
/about/uses /uses 301
|
/about/uses /uses 301
|
||||||
|
|
|
@ -16,11 +16,8 @@
|
||||||
<nav class="[ flow-space-0.5 ]">
|
<nav class="[ flow-space-0.5 ]">
|
||||||
<ul class="[ menu ] [ cluster p-0 m-0 gap-0.5 ]" role="list">
|
<ul class="[ menu ] [ cluster p-0 m-0 gap-0.5 ]" role="list">
|
||||||
<li>
|
<li>
|
||||||
<span class="[ visually-hidden ]">RSS</span>
|
<span class="[ visually-hidden ]">Feeds</span>
|
||||||
<a href="/rss.xml"
|
<a href="/feeds" class="[ button ]" aria-label="View RSS feed">{% include "svgs/rss.svg" %}</a>
|
||||||
class="[ button ]"
|
|
||||||
target="_blank"
|
|
||||||
aria-label="View RSS feed">{% include "svgs/rss.svg" %}</a>
|
|
||||||
</li>
|
</li>
|
||||||
{% for key, url in meta.social %}
|
{% for key, url in meta.social %}
|
||||||
{% set alt = key | capitalize %}
|
{% set alt = key | capitalize %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
permalink: /rss.xml
|
permalink: /feeds/posts.xml
|
||||||
layout: null
|
layout: null
|
||||||
eleventyExcludeFromCollections: true
|
eleventyExcludeFromCollections: true
|
||||||
excludeFromSitemap: true
|
excludeFromSitemap: true
|
||||||
|
@ -7,7 +7,7 @@ excludeFromSitemap: true
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
<title>{{ meta.siteName }}</title>
|
<title>{{ meta.siteName }}</title>
|
||||||
<subtitle>{{ meta.siteDescription }}</subtitle>
|
<subtitle>{{ meta.siteDescription }}</subtitle>
|
||||||
<link href="{{ meta.url }}/feed.xml" rel="self" />
|
<link href="{{ meta.url }}/feeds/posts.xml" rel="self" />
|
||||||
<link href="{{ meta.url }}/" rel="alternate" type="text/html" />
|
<link href="{{ meta.url }}/" rel="alternate" type="text/html" />
|
||||||
<id>{{ meta.url }}/</id>
|
<id>{{ meta.url }}/</id>
|
||||||
<author>
|
<author>
|
|
@ -14,6 +14,7 @@ If preferred, the [commit log is available here][commits].
|
||||||
|
|
||||||
- Switched to [Cloudflare Pages](https://pages.cloudflare.com/) for deployments and hosting.
|
- Switched to [Cloudflare Pages](https://pages.cloudflare.com/) for deployments and hosting.
|
||||||
- Switched to [Backblaze B2](https://www.backblaze.com/cloud-storage) for asset storage. Served through Cloudflare.
|
- Switched to [Backblaze B2](https://www.backblaze.com/cloud-storage) for asset storage. Served through Cloudflare.
|
||||||
|
- Added a [Feeds](/feeds) page for my collection of feeds. For now it's just my Posts.
|
||||||
|
|
||||||
## July 7th 2024
|
## July 7th 2024
|
||||||
|
|
||||||
|
|
13
src/pages/feeds.html
Normal file
13
src/pages/feeds.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: Feeds
|
||||||
|
description: Feed yourself a veritable bevy of feeds.
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1>Feeds</h1>
|
||||||
|
<p>Here is my collection of feeds for your perusal. They come in RSS varieties.</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="/feeds/posts.xml">Posts</a>
|
||||||
|
<p>Just the posts.</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
Loading…
Add table
Add a link
Reference in a new issue