diff --git a/config.toml b/config.toml index 8b7cdca..cae7e0b 100644 --- a/config.toml +++ b/config.toml @@ -6,6 +6,9 @@ default_language = "en" compile_sass = true build_search_index = false generate_feed = true +ignored_content = [ + "**/_*.{png,svg}", # unoptimized images +] # theme is inlined # theme = "apollo" diff --git a/flake.nix b/flake.nix index 7e22f7f..46326eb 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,8 @@ buildPhase = '' optimize-images zola build --drafts + # zola's ignored_content setting doesn't work in static/ + rm -rf public/image/_favicon.svg ''; installPhase = '' cp -r public $out