From e8ef355d0ec02a6bb5ad84ab61ad7aba329a4b54 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sat, 25 Apr 2026 09:50:21 +0100 Subject: move capsule log headers to templates/ --- capsule/build_loglog.bash | 2 +- capsule/build_microlog.bash | 2 +- capsule/loglog-header.gmi | 6 ------ capsule/microlog-header.gmi | 3 --- capsule/templates/loglog-header.gmi | 6 ++++++ capsule/templates/microlog-header.gmi | 3 +++ 6 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 capsule/loglog-header.gmi delete mode 100644 capsule/microlog-header.gmi create mode 100644 capsule/templates/loglog-header.gmi create mode 100644 capsule/templates/microlog-header.gmi diff --git a/capsule/build_loglog.bash b/capsule/build_loglog.bash index 0d50b5d..247da74 100755 --- a/capsule/build_loglog.bash +++ b/capsule/build_loglog.bash @@ -2,7 +2,7 @@ TMP="tmp-build-loglog-$(date +%s%N)" LOGLOG="content/logs/loglog.gmi" -LOGLOG_HEADER="loglog-header.gmi" +LOGLOG_HEADER="templates/loglog-header.gmi" new_filename() { diff --git a/capsule/build_microlog.bash b/capsule/build_microlog.bash index f062f24..67b21a6 100755 --- a/capsule/build_microlog.bash +++ b/capsule/build_microlog.bash @@ -1,7 +1,7 @@ #!/bin/bash MICROLOG="content/logs/microlog.gmi" -MICROLOG_HEADER="microlog-header.gmi" +MICROLOG_HEADER="templates/microlog-header.gmi" MICROLOG_SRC_DIR="microlog" HR="-----------------------------------------------------------------------" diff --git a/capsule/loglog-header.gmi b/capsule/loglog-header.gmi deleted file mode 100644 index 59bf60a..0000000 --- a/capsule/loglog-header.gmi +++ /dev/null @@ -1,6 +0,0 @@ -# joeac's loglog - -Hi! I'm Joe Carstairs, and you've found my loglog; my log of logs; all my posts of every description, all gathered into one place. If you're really that interested in my posts, I would encourage you to strongly consider the benefits of touching grass. - -You should be aware that my build script seems to muck up the dates. Everything seems to be 2 months and 2 days off? I haven't got round to debugging and fixing this yet. Any theories, let me know. - diff --git a/capsule/microlog-header.gmi b/capsule/microlog-header.gmi deleted file mode 100644 index 761e61a..0000000 --- a/capsule/microlog-header.gmi +++ /dev/null @@ -1,3 +0,0 @@ -# joeac's microlog - -Hi! I'm Joe Carstairs, and you've found my microlog. Sometimes, when I think something, I put the thought here. I'm not sure why you'd want to read this, to be honest. I'd recommend turning the computer off and going for a walk instead. diff --git a/capsule/templates/loglog-header.gmi b/capsule/templates/loglog-header.gmi new file mode 100644 index 0000000..59bf60a --- /dev/null +++ b/capsule/templates/loglog-header.gmi @@ -0,0 +1,6 @@ +# joeac's loglog + +Hi! I'm Joe Carstairs, and you've found my loglog; my log of logs; all my posts of every description, all gathered into one place. If you're really that interested in my posts, I would encourage you to strongly consider the benefits of touching grass. + +You should be aware that my build script seems to muck up the dates. Everything seems to be 2 months and 2 days off? I haven't got round to debugging and fixing this yet. Any theories, let me know. + diff --git a/capsule/templates/microlog-header.gmi b/capsule/templates/microlog-header.gmi new file mode 100644 index 0000000..761e61a --- /dev/null +++ b/capsule/templates/microlog-header.gmi @@ -0,0 +1,3 @@ +# joeac's microlog + +Hi! I'm Joe Carstairs, and you've found my microlog. Sometimes, when I think something, I put the thought here. I'm not sure why you'd want to read this, to be honest. I'd recommend turning the computer off and going for a walk instead. -- cgit v1.2.3