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

Variable icon.url not found #16

Open
philiprhoades opened this issue Apr 26, 2022 · 1 comment
Open

Variable icon.url not found #16

philiprhoades opened this issue Apr 26, 2022 · 1 comment

Comments

@philiprhoades
Copy link

philiprhoades commented Apr 26, 2022

Bennett,

I am coming from Jekyll and trying out Zola just because it is written in Rust.

Of the half-dozen themes which I like the look of and have tried, yours seems to be the closest to be working. I think I have copied everything into their correct places - I am just trying to replicate your demo exactly ATM - but I get this:

$ zola serve
Building site...
-> Creating 4 pages (0 orphan), 1 sections, and processing 0 images
Error: Failed to render page '/home/phr/src/rust/zola/soch_4/content/about.md'
Reason: Failed to render 'page.html' (error happened in 'base.html').
Reason: Variable `icon.url` not found in context while rendering 'page.html'

Something seems to be missing?

Thanks,
Phil.

@bennetthardwick
Copy link
Owner

Hey @philiprhoades, thanks for the issue!

It looks like the issue is related to this profile_small option in your config.toml. Do you have it set / if so is it pointing to a valid image?

profile_small = "icon.png"

If you are able to share the repo with me I can take a look and see what is wrong.

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

2 participants