Open antmoev opened 3 months ago
Hello,
For the first error, it looks like the config.toml
requires a field favicon
pointing to an image that will be the favicon of your site.
[extra]
favicon = "static/img/avatar.jpg"
For the second error, I am trying to reproduce it, I will give you a heads-up when I succeed.
For the second error, I raised an issue upstream: https://github.com/getzola/zola/issues/2558
For the moment, if you can use zola 0.18.0 that should let you continue to work on your website :)
Hi ! Zola dev has answered. This is an error in the example in the theme. date
is not allowed in the section front matter (it makes sense).
Let me know if it fixes your issue.
Hello,
I encountered two errors while trying to serve my site using Zola with this theme. Below are the details:
Error 1: Function call
resize_image
failedCommand:
Output:
Error 2: TOML parsing issue with the
date
field in the headerCommand:
Output:
Steps to reproduce:
themes/
config.toml
to includetheme = "kodama-theme"
themes/kodama-theme/content
to the app./content
directoryzola serve
Additional context:
It seems that the
resize_image
function is failing due to a missingconfig.extra.favicon
variable in the context while renderingindex.html
. Additionally, thedate
field in the front matter of_index.md
is causing a TOML parsing error.Any help resolving these issues would be greatly appreciated.
Thank you!