diff options
author | mms <michal@sapka.me> | 2023-11-21 00:01:39 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-11-21 00:01:39 +0100 |
commit | 6ad66d587402854d3336268e5910ab713ce38d7b (patch) | |
tree | 51dc193d11b8cf3eb043031ec6bcfd5250bab444 | |
parent | fc32a8185f811a3f2c79fe575513d7197dbf0af3 (diff) |
feat: funnies padding & kill webp
-rwxr-xr-x | beam-funnies.sh | 12 | ||||
-rw-r--r-- | content/funnies.md | 2 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 1 | ||||
-rwxr-xr-x | upload-funnies.sh | 4 |
4 files changed, 15 insertions, 4 deletions
diff --git a/beam-funnies.sh b/beam-funnies.sh new file mode 100755 index 0000000..3f16da6 --- /dev/null +++ b/beam-funnies.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env sh + +# first let's remove those pesky webp +cd ~/funnies +magick mogrify -format JPEG *.webp +rm *webp + +# and beam them up scotty +rsync -rtvzP ~/funnies/ mms@michal.sapka.me:/var/www/htdocs/funnies/2023/$(date +%F) + +# clean up +rm * diff --git a/content/funnies.md b/content/funnies.md index c53546c..2cc0721 100644 --- a/content/funnies.md +++ b/content/funnies.md @@ -18,7 +18,9 @@ If you want, just come back every so often and see if there is a new funny! ### Funnies archives +│ └── [funnies](/funnies/c/) + │ └── [2023](/funnies/c/2023) [current] ### Tech stuff for nerds diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 87800d5..9addbf0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -77,6 +77,7 @@ {{ partial "back_nav" . }} <br><br> + </main> diff --git a/upload-funnies.sh b/upload-funnies.sh deleted file mode 100755 index 6c683c5..0000000 --- a/upload-funnies.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh - -rsync -rtvzP ~/funnies/ mms@michal.sapka.me:/var/www/htdocs/funnies/2023/$(date +%F) -rm ~/funnies/* |