On Sat, 5 Dec 2020 at 10:51, [email protected] <[email protected]> wrote: > > Thank you so much for helping ! > So I did replace (manually) colorbox with baguettebox (downloading it and > calling it directly from the templates). > > Then it logged : > "jinja2.exceptions.UndefinedError: 'jinja2.environment.TemplateModule object' > has no attribute 'bar'" > > I saw here https://github.com/getnikola/nikola-themes/issues/38 that it might > come from an old version of jinja ?
I’m not sure, remove the cache, update Jinja2 and try again. It’s also possible that your templates are doing something weird. Also, you should not download baguetteBox manually, it’s already available (in base/base-jinja, from which every theme must inherit directly or indirectly) and you just need to remove the colorbox references and copy-paste the baguetteBox snippets. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7J%2BQ77c1%3DJVDRC_AQ6zgxSL15oh4Z3J3Xxz7ss-YosYnw%40mail.gmail.com.
