-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to override favicons and logo? #106
Comments
Nvm I made a mistake by mixing up the |
yep, you can override the files directly, you can also disable some of them in the config.toml file if you comment them out: #favicon_theme_color = "#333333"
#favicon_ms_color = "#333333"
#favicon_webmanifest = "site.webmanifest" # Used for android-chrome-512x512.png and android-chrome-192x192.png
#favicon_mask = "safari-pinned-tab.svg" # safari-pinned-tab.svg
#favicon_mask_color = "#ff9900"
favicon180 = "apple-touch-icon.png" # apple-touch-icon.png
favicon32 = "favicon-32x32.png" # favicon-32x32.png
favicon16 = "favicon-16x16.png" # favicon-16x16.png |
Can also exclude them: add this to your config.toml: ignored_static = ["apple-touch-icon.png","banner.png","safari-pinned-tab.svg","favicon*","m*.png","android-chrome*png"] found the answer here: https://www.getzola.org/documentation/getting-started/configuration/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I override the favicons and logo?
I thought it would automatically use favicons if they are provided in the base
static
dir if they have the same name as those in thethemes/abridge/static
dir, but that doesn't seem to work?Is there a way to set this in the
config.toml
or do it any other way than replace the files in thethemes
dir? I would want to avoid this as this makes it more annoying to update the themes git submodule.The text was updated successfully, but these errors were encountered: