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

No Hello World: better intro docs. #15

Open
EvanCarroll opened this issue Aug 30, 2023 · 1 comment
Open

No Hello World: better intro docs. #15

EvanCarroll opened this issue Aug 30, 2023 · 1 comment

Comments

@EvanCarroll
Copy link

Totally new to Zola. I use the Borland/386/blue theme for everything. I love that you already did this work. However,

Following the zola tutorial, I can get to zola serve, when I add

themes = "zola.386"

to my config.toml, and add the submodule I'm getting

Error: Failed to serve the site
Error: Failed to render section '/home/ecarroll/website/zola/content/_index.md'
Error: Reason: Failed to render 'index.html'
Error: Reason: Variable `config.extra.keywords` not found in context while rendering 'index.html'

This is a bit obtuse. Not sure what the problem is.

@EvanCarroll
Copy link
Author

EvanCarroll commented Aug 30, 2023

Apparently this is caused because I don't have an argument in my config.toml for config.extra.keywords which is undocumented.

In the repo it's set to,

keywords = "zola, theme, retro, hacking"

This is required by ./themes/zola.386/templates/index.html which has

<meta name="keywords" itemprop="keywords" content="{{ config.extra.keywords }}">

These seem to be present since first commit but that they're required is undocumented.

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