adfaure / kodama-theme

Theme for zola inspired by hugo academic theme.
https://adfaure.github.io/kodama-theme/
MIT License
18 stars 9 forks source link

bibtex broken in recent zola #13

Closed csgordon closed 1 year ago

csgordon commented 1 year ago

I'm new to Zola, using 0.17.2, which is what you get with the current installation instructions.

After failing for a while to get bibtex working in my attempt at my own site (though other aspects of the theme work very nicely so far), I tried to just confirm if I could get kodama-theme to work correctly by itself. Bibtex files are not read correctly.

Steps to reproduce:

Expected results:

Observed results:

I'm on a mac, with a fresh install of zola 0.17.2. Poking around the GH actions, I see the demo site appears to be built using nix, and the logs suggest the last build of the demo used 0.15.3 (https://github.com/adfaure/kodama-theme/actions/runs/4924207168/jobs/8796965946#step:4:219).

adfaure commented 1 year ago

Hello,

this is due to an error in the template example. Renaming your file the file with the big extension should cause it to be loaded and displayed.

I fixed the template here: https://github.com/adfaure/kodama-theme/commit/aa2a1b0775bd76493b362f9d485f01aa9ae10623

Let me know if it worked for you.

Thank for reporting the issue.

csgordon commented 1 year ago

This seems to work, both when trying to serve the template and when trying to build my own site! Thank you!