Skip to content
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

Failed to build site due to lacking author name #25

Open
T3kla opened this issue Nov 11, 2023 · 0 comments
Open

Failed to build site due to lacking author name #25

T3kla opened this issue Nov 11, 2023 · 0 comments

Comments

@T3kla
Copy link

T3kla commented Nov 11, 2023

Context:

I created a brand new zola project with zola init, installed this theme through git clone and set it up as the theme in the config.toml.

Had this error:

Error: Failed to serve the site
Error: Failed to render section '\\?\C:\Repos\Site\content\_index.md'
Error: Reason: Failed to render 'index.html'
Error: Reason: Variable `config.extra.author.name` not found in context while rendering 'index.html'

The solution:

  • Go to themes\hermit_zola\theme.toml
  • Replace [author] with [extra.author]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant