diff --git a/theme/templates/macros/getters.html b/theme/templates/macros/getters.html index 6e9313af0b08dbdafde8e69df52f3ae5098669dd..1c1088d4e26ed72f34c271193e9883acf3d3a986 100644 --- a/theme/templates/macros/getters.html +++ b/theme/templates/macros/getters.html @@ -1,6 +1,6 @@ {%- macro category_by_name(catname, ignore_native = False) -%} {%- if ignore_native -%} - {{- caller(null, sc.categories[catname], null) -}} + {{- caller(None, sc.categories[catname], None) -}} {%- else -%} {%- for nativecat, catarticles in categories -%} {%- if nativecat.name == catname -%}