aaranxu / adidoks

AdiDoks is a mordern documentation theme, which is a port of the Hugo theme Doks for Zola.

Home Page:https://adidoks.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails with zola deploy action: variable not found in context

Harleyoc1 opened this issue · comments

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

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.