summaryrefslogtreecommitdiff
path: root/_includes/functions/get_value.html
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-06-17 18:57:37 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-06-17 18:57:37 +0800
commit9b06eb1ba9229e1885f6a847ae4a610ea56fcee1 (patch)
tree087410bca943d6729c45b260db1c29e1e5aa45e1 /_includes/functions/get_value.html
parent8d55abaddbe80689f3dc20df7f1c0c8cb0574e33 (diff)
style: revise liquid code syntax
Diffstat (limited to '_includes/functions/get_value.html')
-rw-r--r--_includes/functions/get_value.html2
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 -%}