forked from deepStateMirrors/tabi
♻️ refactor: improve settings hierarchy performance (#325)
This commit is contained in:
parent
9d49a65354
commit
f5f195c90c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ Parameters:
|
|||
{%- elif page -%}
|
||||
{#- Retrieve last ancestor to determine current section, if applicable -#}
|
||||
{%- set last_ancestor = page.ancestors | slice(start=-1) %}
|
||||
{%- set current_section = get_section(path=last_ancestor.0) %}
|
||||
{%- set current_section = get_section(path=last_ancestor.0, metadata_only=true) %}
|
||||
{%- endif -%}
|
||||
|
||||
{%- set priority_order = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue