Skip to content

Commit 23a12a5

Browse files
committed
RSS feed. And other meta files
1 parent 04ce49b commit 23a12a5

10 files changed

Lines changed: 308 additions & 171 deletions

File tree

.eleventy.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
22
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
3+
const pluginRss = require("@11ty/eleventy-plugin-rss");
4+
const sitemap = require("@quasibit/eleventy-plugin-sitemap");
35
const { DateTime } = require("luxon");
46
const markdownIt = require("markdown-it");
57
const markdownItAnchor = require("markdown-it-anchor");
@@ -16,6 +18,12 @@ module.exports = function (eleventyConfig) {
1618
eleventyConfig.addPassthroughCopy({ "./CNAME": "./CNAME" });
1719
eleventyConfig.addPlugin(syntaxHighlight);
1820
eleventyConfig.addPlugin(eleventyNavigationPlugin);
21+
eleventyConfig.addPlugin(pluginRss);
22+
eleventyConfig.addPlugin(sitemap, {
23+
sitemap: {
24+
hostname: "https://rupertmckay.com",
25+
},
26+
});
1927

2028
let markdownLibrary = markdownIt({
2129
html: true,

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
environment: production
1414
steps:
1515
- name: ⬇️ Checkout repo
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717

1818
- name: 🤖 Use Node.js ${{ env.NODE_VERSION }}
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ env.NODE_VERSION }}
2222

@@ -27,7 +27,7 @@ jobs:
2727
run: npm run build
2828

2929
- name: 🚀 Deploy to gh-pages
30-
uses: JamesIves/github-pages-deploy-action@4.1.3
30+
uses: JamesIves/github-pages-deploy-action@v4.6.8
3131
with:
3232
branch: gh-pages
3333
folder: _site

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Rupert Foggo McKay
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)