diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-17 18:57:37 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-17 18:57:37 +0800 |
commit | 9b06eb1ba9229e1885f6a847ae4a610ea56fcee1 (patch) | |
tree | 087410bca943d6729c45b260db1c29e1e5aa45e1 /_includes/functions | |
parent | 8d55abaddbe80689f3dc20df7f1c0c8cb0574e33 (diff) |
style: revise liquid code syntax
Diffstat (limited to '_includes/functions')
-rw-r--r-- | _includes/functions/get_value.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/functions/get_value.html b/_includes/functions/get_value.html index d1d8507..bbd1815 100644 --- a/_includes/functions/get_value.html +++ b/_includes/functions/get_value.html @@ -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 -%} |