From dd085bd8ea0fbd2468e49f8a6b89c4cd1830c55f Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Mon, 1 Feb 2016 18:07:13 -0800 Subject: [PATCH] migrate to jekyll3 - layout metadata is accessed via "layout." --- _includes/footer-scripts.html | 16 ++++++++-------- _includes/head.html | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/_includes/footer-scripts.html b/_includes/footer-scripts.html index b1f2532..8a980a4 100644 --- a/_includes/footer-scripts.html +++ b/_includes/footer-scripts.html @@ -1,23 +1,23 @@ -{% if page.common-ext-js %} - {% for js in page.common-ext-js %} +{% if layout.common-ext-js %} + {% for js in layout.common-ext-js %} {% endfor %} {% endif %} -{% if page.ext-js %} - {% for js in page.ext-js %} +{% if layout.ext-js %} + {% for js in layout.ext-js %} {% endfor %} {% endif %} -{% if page.js %} - {% for js in page.js %} +{% if layout.js %} + {% for js in layout.js %} {% endfor %} {% endif %} -{% if page.common-js %} - {% for js in page.common-js %} +{% if layout.common-js %} + {% for js in layout.common-js %} {% if js contains 'jquery' %}