Commit Graph
220 Commits
Author SHA1 Message Date
AverageMarcus 22789160fd Full post content in RSS
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-11-16 17:11:30 +00:00
hermes-agentandMarcus Noble c69e2cbb97 Modernize static site generator stack (Node 22, updated Metalsmith plugins) (#2)
## Changes

### Node.js
- Upgraded from v16 to v22 (latest LTS) via `.nvmrc` and `Dockerfile`

### Sass
- Replaced deprecated `node-sass` with Dart Sass (`sass@^1.108.2`)
- Pre-build compilation of SCSS to CSS before Metalsmith run
- Added `.ignore(["css"])` to prevent source SCSS files being copied to build

### Metalsmith Plugins
Migrated to modern scoped packages:
- `@metalsmith/markdown` (v1.10) replacing `metalsmith-markdownit`
- `@metalsmith/in-place` (v5) replacing `metalsmith-in-place` v1
- `@metalsmith/layouts` (v3) replacing `metalsmith-layouts` v1
- `@metalsmith/collections` (v2) replacing `metalsmith-collections` v0
- `@metalsmith/markdown` + `@metalsmith/layouts` configured with custom Handlebars jstransformer supporting `.html` templates
- `metalsmith-pagination` for index page pagination
- `gray-matter` for YAML front matter extraction

### Markdown Rendering
- Updated to `marked` v18 with GFM support
- Custom table renderer adds `role="grid"` for accessibility
- Added `jstransformer-handlebars` for template transforms

### Custom Plugins
- `plugins/permalinks.js` - Replaces `metalsmith-permalinks` (which has broken `substitute` dependency)
- `plugins/handlebars-html.js` - Custom jstransformer wrapper that supports `.html` file extensions for Handlebars templates

### Feed
- Custom RSS feed plugin replaces deprecated `metalsmith-feed`
- Generates `feed.xml` with all 56 posts

### Routing
- `filterRoutes.js` - Updated regex patterns for Express 4.x compatibility

### Templates
- Removed deprecated `markdown="1"` from `picture.html` and `tweet.html`

### Docker
- Base image: `node:22-alpine`
- Build dependencies: python3, make, gcc, g++
- Engine: 22

## Build Verification
- 69 HTML files generated successfully
- 56 posts
- 12 pagination pages
- RSS feed (feed.xml) generated
- Sitemap (sitemap.xml) generated
- SCSS compilation working (style.css)

All build output is in the `build/` directory.

---------

Co-authored-by: Marcus Noble <marcus@averagemarcus.com>
Reviewed-on: #2
Reviewed-by: Marcus Noble <1+averagemarcus@noreply.git.cluster.fun>
Co-authored-by: hermes-agent <hermes-agent@cluster.fun>
2026-11-16 14:10:51 +00:00
AverageMarcus 35e9dfe24b Fix hr style on mobile
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-11-16 07:12:44 +00:00
AverageMarcus 9d75020029 Fix hr styling
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-11-16 07:09:04 +00:00
AverageMarcus 28b072bcf2 Added blog posts from Adriana Villela
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-05-24 08:22:27 +01:00
AverageMarcus 9a1ccec281 Updated recommended kubernetes resources post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-05-23 10:54:46 +01:00
AverageMarcus cb324f6540 Updated KubeCon post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-03-20 08:20:57 +00:00
AverageMarcus ccea55348a Fix post tags
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-03-17 20:38:06 +00:00
AverageMarcus 4b5b061e49 Update image
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-03-17 20:37:07 +00:00
AverageMarcus 6d441544cd Added KubeCon EU guide post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-03-17 20:24:50 +00:00
AverageMarcus f77d618553 Block more bad bot activity
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-09-28 16:22:24 +01:00
AverageMarcus c4263762c7 Added 'investigating-and-fixing-stoppodsandbox' post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-09-28 12:17:11 +01:00
AverageMarcus 1a9df45e55 Added advice from Josh Clark
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-05-10 17:14:00 +01:00
AverageMarcus d5d7f74fd0 Added some advice from lobste.rs
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-05-03 07:11:07 +01:00
AverageMarcus 934c4f4de3 Added advice from Aaron Patterson
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-05-03 07:04:38 +01:00
AverageMarcus 1ff611b3ed Added advice from Márk Sági-Kazár
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-05-01 14:23:58 +01:00
AverageMarcus e2372b378a Fix typo
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-05-01 09:53:36 +01:00
AverageMarcus c4d3194a7f Added toilet tip to speaking post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-05-01 08:03:25 +01:00
AverageMarcus 252f5143d1 Added talk on public speaking
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-04-30 20:08:25 +01:00
AverageMarcus 9a0cf62882 Updated profile image
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-02-17 16:38:29 +00:00
AverageMarcus c267ec35a4 Added Node-RED bot post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-02-09 09:08:03 +00:00
AverageMarcus fd867c7262 Updarte social share image
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-02-02 08:28:23 +00:00
AverageMarcus 3bdc78303d Added LinkedIn API post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-02-02 07:47:52 +00:00
AverageMarcus 4aafc98be9 Fix strikethrough
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-01-17 15:37:51 +00:00
AverageMarcus 84bae3759d Updated post with cloudflare details
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-01-17 15:14:51 +00:00
AverageMarcus 98ff90f460 Update cloud native now post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-01-14 13:40:12 +00:00
AverageMarcus ab55d75296 Added Cloud Native Now post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-01-14 11:51:50 +00:00
AverageMarcus f69df643f7 Added og:article:author meta tag
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-01-05 19:51:27 +00:00
AverageMarcus 2e328133cc Updated social links
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-01-04 16:06:54 +00:00
AverageMarcus ac1744869d Added Bootstrapping a Civo cluster with OpenTofu and Flux
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2025-01-03 11:08:19 +00:00
AverageMarcus 68e1e77843 Added fediverse creator meta tag
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-07-03 09:25:04 +01:00
AverageMarcus 675f56d9c5 Added link to Michaels post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-06-24 14:49:01 +01:00
AverageMarcus 7bf40c1263 Typo
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-06-24 14:46:12 +01:00
AverageMarcus 3586eeb6bf Updated resources
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-06-24 13:03:33 +01:00
AverageMarcus ee9a16865e Added kubernetes resources post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-06-24 11:38:31 +01:00
AverageMarcus a1533640cf Added EMF Camp post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-06-07 16:24:06 +01:00
AverageMarcus d48d4dcb14 Update broken links
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-05-21 15:24:06 +01:00
AverageMarcus bdd2e8c79a Update blocked routes
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-10-10 09:46:15 +01:00
AverageMarcus b36d394308 Added post about renovate custom datasources
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-10-03 21:59:45 +01:00
AverageMarcus a8295a7321 Fixed broken links
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-09-23 20:33:19 +01:00
AverageMarcus a3f0a74535 Update list of filtered routes
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-09-04 12:19:16 +01:00
AverageMarcus 0e5cce4a52 Added redis data migration post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-09-04 10:07:25 +01:00
AverageMarcus 2007c280c8 Added Ian tweet
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-03-03 08:43:47 +00:00
AverageMarcus 03aadb59fe Replaced tweet images while still possible
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-02-03 14:47:58 +00:00
AverageMarcus 0f90c7c0d0 Update filter routes 2022-07-22 18:38:12 +00:00
AverageMarcus fbf3657b77 Remove draft post
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-07-21 08:02:32 +01:00
AverageMarcus 21f1d9216c Updated redirect rules
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-07-21 07:03:17 +01:00
AverageMarcus 0bd69bd3f3 Handle more missing icons
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-07-19 07:08:25 +01:00
AverageMarcus de146693aa Added missing image
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-07-19 07:05:32 +01:00
AverageMarcus 57bd0f0fcc Updated favicons
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-07-19 06:55:41 +01:00