style: revise liquid code syntax

This commit is contained in:
jeffreytse 2021-06-17 18:57:37 +08:00
parent 8d55abaddb
commit 9b06eb1ba9

View file

@ -2,7 +2,7 @@
{%- assign name = include.params.name -%}
{%- endif -%}
{%- assign keys = name | split:'.'- %}
{%- assign keys = name | split:'.' -%}
{%- assign name = keys.first -%}
{%- if page[name] != nil -%}