From 9b06eb1ba9229e1885f6a847ae4a610ea56fcee1 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Thu, 17 Jun 2021 18:57:37 +0800 Subject: [PATCH] style: revise liquid code syntax --- _includes/functions/get_value.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%}