diff options
| author | Paul Buetow <paul@buetow.org> | 2025-05-04 09:47:19 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-05-04 09:47:19 +0300 |
| commit | e8ac0d1c749a5856b7501d6bbf93c21553f759ce (patch) | |
| tree | 9145830e7309447c71ea84662cfaa06221e5c8bd | |
| parent | 6cb4c3bd296e0bbf999f66a773012718a84b4fac (diff) | |
add svg to img pattern
| -rw-r--r-- | extras/html/themes/default/style.css | 5 | ||||
| -rw-r--r-- | gemtexter.conf | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/extras/html/themes/default/style.css b/extras/html/themes/default/style.css index bd3bc62..2e6e723 100644 --- a/extras/html/themes/default/style.css +++ b/extras/html/themes/default/style.css @@ -19,9 +19,10 @@ } html { - background-image: radial-gradient(#cccccc 2px, transparent 2px); + background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23cccccc"><polygon points="50,15 61,39 87,39 66,57 76,84 50,68 24,84 34,57 13,39 39,39"/></svg>'), + radial-gradient(#000000 1px, transparent 1px); background-size: 32px 32px; - background-color: #ffffff; + background-color: #000000; } body { diff --git a/gemtexter.conf b/gemtexter.conf index 1031ea4..e122a2f 100644 --- a/gemtexter.conf +++ b/gemtexter.conf @@ -3,7 +3,7 @@ declare -xr MARKDOWN_BASE_URI=https://codeberg.org/snonux/foo.zone/src/branch/co declare -xr SUBTITLE='To be in the .zone!' declare -xr AUTHOR='Paul Buetow aka snonux' declare -xr EMAIL='paul@dev.buetow.org' -declare -xr IMAGE_PATTERN='\.(jpg|png|gif)$' +declare -xr IMAGE_PATTERN='\.(jpg|png|gif|webp|svg)$' declare -xr ATOM_MAX_ENTRIES=42 declare -xr CONTENT_BASE_DIR=../foo.zone-content declare -xr PRE_GENERATE_HOOK=./pre_generate_hook.sh |
