style: revise liquid code syntax
This commit is contained in:
parent
8d55abaddb
commit
9b06eb1ba9
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
{%- assign name = include.params.name -%}
|
{%- assign name = include.params.name -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- assign keys = name | split:'.'- %}
|
{%- assign keys = name | split:'.' -%}
|
||||||
{%- assign name = keys.first -%}
|
{%- assign name = keys.first -%}
|
||||||
|
|
||||||
{%- if page[name] != nil -%}
|
{%- if page[name] != nil -%}
|
||||||
|
|
Loading…
Reference in a new issue