summaryrefslogtreecommitdiff
path: root/_includes/functions
diff options
context:
space:
mode:
Diffstat (limited to '_includes/functions')
-rw-r--r--_includes/functions/get_value.html2
1 files changed, 2 insertions, 0 deletions
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] -%}