fix thumbnail regeneration on every push i hope it will finally work... git post-receive hook is the same, but jekyll now shouldn't purge all generated thumbnails.
la-ninpre leobrekalini@gmail.com
Thu, 19 Aug 2021 10:32:15 +0300
2 files changed,
9 insertions(+),
1 deletions(-)
M
_config.yml
→
_config.yml
@@ -8,6 +8,14 @@ exclude:
- LICENSE - README.md - art/thumbs.sh + - aaoth_new_post.sh + +# sadly wildcards don't work +keep_files: + - art/photos/thumbs + - art/renders/thumbs + - art/drawings/thumbs + - art/logos/thumbs excerpt_separator: <!--more-->
M
art/thumbs.sh
→
art/thumbs.sh
@@ -28,7 +28,7 @@ for dir in $_img_dirs
do cd "./$dir" || exit 1 - [ -d "$_thumbs_dir" ] || mkdir "$_thumbs_dir" + mkdir -p "$_thumbs_dir" _imgs="$(find . -maxdepth 1 \ -iname "*.jpg" -or \