diff options
author | EuAndreh <eu@euandre.org> | 2023-04-09 08:37:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-09 08:47:40 -0300 |
commit | 9557f9d508bf9bb61d4bb804084d6508f94e34f4 (patch) | |
tree | 49913ee12da48bcb13d036826c94939c32e7e108 /v2/src/bin/makemake | |
parent | v2: i18n of the collection name, "article" collection in root (diff) | |
download | euandre.org-9557f9d508bf9bb61d4bb804084d6508f94e34f4.tar.gz euandre.org-9557f9d508bf9bb61d4bb804084d6508f94e34f4.tar.xz |
v2: CSS dark mode, including SVGs
Diffstat (limited to '')
-rwxr-xr-x | v2/src/bin/makemake | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/v2/src/bin/makemake b/v2/src/bin/makemake index 06041b0..3f4679d 100755 --- a/v2/src/bin/makemake +++ b/v2/src/bin/makemake @@ -182,9 +182,23 @@ for lang in $(langs); do printf '\n' done + git ls-files | - grep '\.page' | - sed "s|^$CONTENT_PREFIX\(.*\)\.page|\1.md|" > "$CONTENT_PREFIX"/.gitignore + grep '\.uncolored' | + varlist 'svgs.uncolored' +# shellcheck disable=2016 +printf 'svgs = $(svgs.uncolored:.uncolored=)\n\n' + + +{ + git ls-files | + grep '\.page' | + sed "s|^$CONTENT_PREFIX\(.*\)\.page|\1.md|" + + git ls-files | + grep '\.uncolored' | + sed "s|^$CONTENT_PREFIX\(.*\)\.uncolored|\1|" +} > "$CONTENT_PREFIX"/.gitignore for e in $(extensions '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml'); do @@ -211,4 +225,5 @@ git ls-files src/ | git ls-files "$CONTENT_PREFIX"/ | grep -v '\.md$' | grep -v '\.page$' | + grep -v '\.uncolored$' | varlist 'static-content' |