From 57ebe7b6c20f73df4142808886f060a3390f6e0d Mon Sep 17 00:00:00 2001 From: Mark Norman Francis Date: Mon, 23 Aug 2021 07:28:23 +0100 Subject: [PATCH] fixup --- data/cackhanded.toml | 2 ++ script/new_weeknote | 6 ++++++ .../weeknotes/chips-for-week-33-2021.markdown | 18 ++++++------------ 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/data/cackhanded.toml b/data/cackhanded.toml index 50a0d005f..15abded24 100644 --- a/data/cackhanded.toml +++ b/data/cackhanded.toml @@ -447,3 +447,5 @@ edited_body = 1 [1428085663887413257] [1428082894631841798] + +[1429690687486840833] diff --git a/script/new_weeknote b/script/new_weeknote index c3aa8ba0f..c34d51c91 100755 --- a/script/new_weeknote +++ b/script/new_weeknote @@ -5,6 +5,12 @@ export IMAGE_BASE="${2:-placeholder/weeknote}" export PUBLISHED=$(TZ=UTC date +'%Y-%m-%dT%H:%M:%SZ') export YEAR=$(date +%Y) +if [ -z "$WEEK" ]; then + echo "Usage: new_weeknote [image_base]" + exit 2 +fi + + envsubst \ < script/templates/weeknote.markdown \ > source/weeknotes/chips-for-week-$WEEK-$YEAR.markdown diff --git a/source/weeknotes/chips-for-week-33-2021.markdown b/source/weeknotes/chips-for-week-33-2021.markdown index 15c40fba0..6be37376c 100644 --- a/source/weeknotes/chips-for-week-33-2021.markdown +++ b/source/weeknotes/chips-for-week-33-2021.markdown @@ -1,6 +1,6 @@ ``` title = "Chips for week 33, 2021" -published = 2021-08-23T05:13:29Z +published = 2021-08-23T06:24:44Z origin = 'mnf' type = 'article' subject = 'weeknotes' @@ -10,21 +10,16 @@ tag = [ 'repo-normpress-com', 'weekchips', ] -image = 'https://mnf.m17s.net/placeholder/weeknote.jpg' +image = 'https://mnf.m17s.net/twitter/1429690687486840833/E9dIF0oWQAAL3j6.jpg' summary = """ Stopped neglecting weeknotes, didn't break the hasworn chain, set up some terraform, wrote words. """ -draft = """ - * add repo tags for any affected repo - * write the summary and preview on the homepage and weeknotes page -""" - [thumbnail] -chips = 'https://mnf.m17s.net/placeholder/weeknote.chips.jpg' -w200 = 'https://mnf.m17s.net/placeholder/weeknote.200.jpg' -w80 = 'https://mnf.m17s.net/placeholder/weeknote.80.jpg' +chips = 'https://mnf.m17s.net/twitter/1429690687486840833/E9dIF0oWQAAL3j6.chips.jpg' +w200 = 'https://mnf.m17s.net/twitter/1429690687486840833/E9dIF0oWQAAL3j6.200.jpg' +w80 = 'https://mnf.m17s.net/twitter/1429690687486840833/E9dIF0oWQAAL3j6.80.jpg' [twitter] account = "cackhanded" @@ -41,8 +36,7 @@ Another week, and I’m still [stacking chips][chips]. Last week’s [chips]: /2020/06/19/my-week-in-poker-chips [markers]: /2020/08/22/my-weekchips-markers -

- +

## Intention