thomasweitzel / zolarwind

A localizable blog theme using Tailwind CSS for styling and KaTex for math
MIT License
5 stars 4 forks source link

Failed to build the site #4

Closed stalkerGH closed 3 months ago

stalkerGH commented 3 months ago

Hello.

I exported my Wordpress blog to .md files and like to experiment with Zola and Zolarwind theme. What trying to zola serve I got the message:

Building site...
Checking all internal links with anchors.
> Successfully checked 1 internal link(s) with anchors.
-> Creating 73 pages (0 orphan) and 2 sections
Error: Failed to serve the site
Error: Failed to render pager 7
Error: Reason: Failed to render 'blog.html'
Error: Reason: Variable `res.empty_page_summary` not found in context while rendering 'partials/list-element.html'

What should I check?

thomasweitzel commented 3 months ago

Hi! You found a bug: in the template list-element.html was a wrong reference to the resource value res.empty_page_summary, which should have been res.empty_page_description.

I have commited a fix to the repository.

You can also edit line 21 in templates/partials/list-element.html and replace res.empty_page_summary with res.empty_page_description.

stalkerGH commented 3 months ago

Thank you, your fix works :)