Skip to content

Macro Rendering Error

File: Blog/Linux Sysctl Configuration.md

UndefinedError: 'salt' is undefined

Traceback (most recent call last):
  File "/opt/buildhome/.asdf/installs/python/3.13.3/lib/python3.13/site-packages/mkdocs_macros/plugin.py", line 703, in render
    return md_template.render(**page_variables)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/opt/buildhome/.asdf/installs/python/3.13.3/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
    self.environment.handle_exception()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/opt/buildhome/.asdf/installs/python/3.13.3/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 104, in top-level template code
  File "/opt/buildhome/.asdf/installs/python/3.13.3/lib/python3.13/site-packages/jinja2/environment.py", line 471, in getitem
    return obj[argument]
           ~~~^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt' is undefined