feat: add feeds page
This commit is contained in:
parent
00852c059a
commit
68e9501dc8
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
|
||||
|
||||
# RSS
|
||||
/rss.xml /feed.xml 301
|
||||
/rss.xml /feeds/posts 301
|
||||
/feed.xml /feeds/posts 301
|
||||
|
||||
# Pages
|
||||
/about/uses /uses 301
|
||||
|
|
|
@ -16,11 +16,8 @@
|
|||
<nav class="[ flow-space-0.5 ]">
|
||||
<ul class="[ menu ] [ cluster p-0 m-0 gap-0.5 ]" role="list">
|
||||
<li>
|
||||
<span class="[ visually-hidden ]">RSS</span>
|
||||
<a href="/rss.xml"
|
||||
class="[ button ]"
|
||||
target="_blank"
|
||||
aria-label="View RSS feed">{% include "svgs/rss.svg" %}</a>
|
||||
<span class="[ visually-hidden ]">Feeds</span>
|
||||
<a href="/feeds" class="[ button ]" aria-label="View RSS feed">{% include "svgs/rss.svg" %}</a>
|
||||
</li>
|
||||
{% for key, url in meta.social %}
|
||||
{% set alt = key | capitalize %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
permalink: /rss.xml
|
||||
permalink: /feeds/posts
|
||||
layout: null
|
||||
eleventyExcludeFromCollections: true
|
||||
excludeFromSitemap: true
|
||||
|
@ -7,7 +7,7 @@ excludeFromSitemap: true
|
|||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>{{ meta.siteName }}</title>
|
||||
<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" />
|
||||
<id>{{ meta.url }}/</id>
|
||||
<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 [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
|
||||
|
||||
|
|
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">Posts</a>
|
||||
<p>Just the posts.</p>
|
||||
</li>
|
||||
</ul>
|
Loading…
Add table
Add a link
Reference in a new issue