From 9241888333d7c0bce62c292a97373b8c26a714d4 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Fri, 13 Sep 2019 15:52:19 +0800 Subject: chore: adjust something about translate langs, etc --- _includes/functions/get_value.html | 2 ++ 1 file changed, 2 insertions(+) (limited to '_includes/functions') diff --git a/_includes/functions/get_value.html b/_includes/functions/get_value.html index 2d90b19..17561a2 100644 --- a/_includes/functions/get_value.html +++ b/_includes/functions/get_value.html @@ -6,6 +6,8 @@ {%- if page[name] -%} {%- assign return = page[name] -%} +{%- elsif site[name] -%} + {%- assign return = site[name] -%} {%- elsif site.data[name] -%} {%- assign return = site.data[name] -%} {%- elsif site.defaults[page.layout][name] -%} -- cgit v1.2.3