When editing weeknotes with the website script, create the page from the Hugo archetype and process it

This implements what the Makefile did, but with a more intuitive interface.
Remove the weeknotes target from the Makefile.
This commit is contained in:
Eryn Wells 2024-12-10 11:46:29 -08:00
parent 8ec88e6c80
commit b9796ab096
4 changed files with 71 additions and 22 deletions

View file

@ -1,5 +1,5 @@
---
title: "Weeknotes for {{ time.Now.Format "2006" }}W%%WEEK_NUMBER%%"
title: "{{ time.Now.Format "2006" }}W%%WEEK_NUMBER%%"
slug: weeknotes-{{ time.Now.Format "2006" }}w%%WEEK_NUMBER%%
date: {{ .Date }}
categories: weeknotes