Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
norm committed Aug 23, 2021
1 parent a59ef38 commit 57ebe7b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions data/cackhanded.toml
Expand Up @@ -447,3 +447,5 @@ edited_body = 1
[1428085663887413257]

[1428082894631841798]

[1429690687486840833]
6 changes: 6 additions & 0 deletions script/new_weeknote
Expand Up @@ -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 <week> [image_base]"
exit 2
fi


envsubst \
< script/templates/weeknote.markdown \
> source/weeknotes/chips-for-week-$WEEK-$YEAR.markdown
Expand Down
18 changes: 6 additions & 12 deletions 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'
Expand All @@ -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"
Expand All @@ -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

<p class='image'><img src='https://mnf.m17s.net/placeholder/weeknote.jpg' alt=''></p>

<p class='image'><img src='https://mnf.m17s.net/twitter/1429690687486840833/E9dIF0oWQAAL3j6.jpg' alt=''></p>

## Intention

Expand Down

0 comments on commit 57ebe7b

Please sign in to comment.