Fails with zola deploy action: variable not found in context
Harleyoc1 opened this issue · 1 comments
Harleyoc1 commented
When attempting to use the Zola Deploy Action with this theme it fails with the following error:
Reason: Variable 'config.default_language' not found in context while rendering 'macros/header.html'
I'm aware there was a previous pull request (#10) solving a similar issue in a different macro. I am using the latest commit to the main branch which includes that patch.
Full logs for build_and_deploy
task are here.
- Zola Version:
0.14.1
- Adidoks Version: 5c69827
Harleyoc1 commented
Never mind. Disregard this. I just realised that 0.14.1
is far from the latest Zola version and you can change it in the workflow. Updating seems to have fixed it.