bennetthardwick / simple-dev-blog-zola-starter

A simple dev-blog theme for Zola.
MIT License
49 stars 23 forks source link

Instructions to install theme no longer work? #7

Closed sophiajt closed 3 years ago

sophiajt commented 3 years ago

I tried following the steps from here: https://www.getzola.org/themes/simple-dev-blog/

But when I try to run zola serve at the end, I get:

Error: Failed to render section '/home/jonathan/Source/sites/my_amazing_site/content/_index.md'
Reason: Failed to render 'index.html' (error happened in 'base.html').
Reason: Function call 'resize_image' failed
Reason: `resize_image`: Cannot find path: icon.png

Any ideas?

bennetthardwick commented 3 years ago

Looks like it's trying to find the images specified in the theme.toml from the root folder instead of the theme folder. I'll update the instructions to say you should copy the content from the theme into your own content folder.

bennetthardwick commented 3 years ago

Hopefully, the updated instructions in 9d6efa8 should work for you. I imagine it'll go live on the Zola website the next time it's updated.

sophiajt commented 3 years ago

Yup, those fixed it for me. Thanks!