From 1e9b7ba0c607ad3aa1009f48ef1183cb3f04cf59 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 21 May 2024 22:40:37 +0100 Subject: [PATCH] Update the permalink for new daily emails Follow-up to commits 41f29c and 38279. --- run.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.local b/run.local index a2de2c6b..3e3da90c 100755 --- a/run.local +++ b/run.local @@ -38,7 +38,7 @@ function create-daily { # Replace the placeholders. sed -i "s/{{ date }}/${date}/" "${filepath}" sed -i "s/{{ title }}/${title}/" "${filepath}" - sed -i "s#{{ permalink }}#archive/${year}/${month}/${day}/${slug}#" "${filepath}" + sed -i "s#{{ permalink }}#daily/${year}/${month}/${day}/${slug}#" "${filepath}" # Create a commit with the appropriate date in the message git add "${filepath}"