In the current master (67fe01f44), sites using base-jinja and derived themes can fail to build when no comment system is used. The nikola build command fails with the following exception:
jinja2.exceptions.UndefinedError: 'jinja2.environment.TemplateModule object' has no attribute 'comment_link_script'
Environment
Python Version: 3.9
Nikola Version: master
Operating System: Pop!_OS 21.04
Description:
In the current
master
(67fe01f44), sites usingbase-jinja
and derived themes can fail to build when no comment system is used. Thenikola build
command fails with the following exception:Full traceback.
Git bisect suggests this bug was introduced with commit 251a3b2ad09e70a3701c089cee740f472fdccb95
Steps to reproduce
nikola@67fe01f44
COMMENT_SYSTEM = ""
inconf.py
THEME = "base-jinja"
inconf.py
; child themes such asbootstrap4-jinja
are also affected.nikola build