Add auto discovery links for the feeds
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 55s

This commit is contained in:
thepaperpilot 2024-06-10 23:24:16 -05:00
parent 4ee032fd84
commit 47d89eaab9
2 changed files with 6 additions and 6 deletions

View file

@ -287,10 +287,7 @@ prev: false
next: false
---
<section class="h-feed">
<h1 class="p-name">
<a href="/changelog" class="u-url">Changelog</a>
<a href="/changelog.rss"><svg viewBox="0 0 16 16" class="svg octicon-rss" aria-hidden="true" width="16" height="16"><path d="M2.002 2.725a.75.75 0 0 1 .797-.699C8.79 2.42 13.58 7.21 13.974 13.201a.75.75 0 0 1-1.497.098 10.5 10.5 0 0 0-9.776-9.776.747.747 0 0 1-.7-.798ZM2.84 7.05h-.002a7 7 0 0 1 6.113 6.111.75.75 0 0 1-1.49.178 5.5 5.5 0 0 0-4.8-4.8.75.75 0 0 1 .179-1.489M2 13a1 1 0 1 1 2 0 1 1 0 0 1-2 0"></path></svg></a>
</h1>
<h1 class="p-name">Changelog</h1>
<p>This feed starts when I formatted the site to be a <a href="/garden/digital-gardens/">Digital Garden</a>. If you'd like to look further into this site's history, check <a href="https://code.incremental.social/thepaperpilot/pages/commits/branch/master">here</a>!</p>
${entries.join("\n\n")}

View file

@ -4,7 +4,7 @@ import { defineConfig } from "vitepress";
module.exports = {
lang: "en-US",
title: 'The Paper Pilot',
description: 'The Paper Pilot Personal Website',
description: 'The Paper Pilot\'s Digital Garden',
vite: {
plugins: [
SearchPlugin({
@ -29,7 +29,10 @@ module.exports = {
['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Pacifico&family=Roboto+Mono:ital,wght@0,400;0,600;1,400&display=swap' }],
['link', { rel: 'manifest', href: '/site.webmanifest' }],
['link', { rel: 'alternate', type: "text/mf2+html", href: '/changelog' }],
['meta', { name: 'og:description', content: 'The Paper Pilot portfolio site' }]
['link', { rel: 'alternate', type: "application/rss+xml", title: 'Changelog', href: '/changelog/rss' }],
['link', { rel: 'alternate', type: "application/atom+xml", title: 'Changelog', href: '/changelog/atom' }],
['link', { rel: 'alternate', type: "application/json+xml", title: 'Changelog', href: '/changelog/json' }],
['meta', { name: 'og:description', content: 'The Paper Pilot\'s Digital Garden' }]
],
lastUpdated: true,
cleanUrls: 'with-subfolders',