Skip to content
Snippets Groups Projects
Verified Commit 5d10216d authored by Jake's avatar Jake
Browse files

fixed category_by_name() bug

parent 6284834e
No related branches found
No related tags found
No related merge requests found
{%- 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 -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment