Skip to content

Failed to build site due to lacking author name #25

@T3kla

Description

@T3kla

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions