From 7f08e2849a4d51ca7457e64bd2b2ab806103d771 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 7 Aug 2018 11:10:19 +0200 Subject: [PATCH] Fixed #841: Additional path levels for extra CSS and JS --- material/base.html | 6 +++--- src/base.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/material/base.html b/material/base.html index 510333cdf..bf52fdbde 100644 --- a/material/base.html +++ b/material/base.html @@ -36,7 +36,7 @@ {% endfor %} - + {% endblock %} {% block htmltitle %} {% if page and page.meta and page.meta.title %} @@ -74,7 +74,7 @@ {% endif %} {% endblock %} - {% for path in extra_css %} + {% for path in config["extra_css"] %} {% endfor %} {% block extrahead %}{% endblock %} @@ -199,7 +199,7 @@ {% endif %} {% endif %} - {% for path in extra_javascript %} + {% for path in config["extra_javascript"] %} {% endfor %} {% endblock %} diff --git a/src/base.html b/src/base.html index 28f6f64d5..5c39ce3ed 100644 --- a/src/base.html +++ b/src/base.html @@ -151,7 +151,7 @@ href="{{ 'assets/fonts/material-icons.css' | url }}" /> - {% for path in extra_css %} + {% for path in config["extra_css"] %} {% endfor %} @@ -356,7 +356,7 @@ } }); - {% for path in extra_javascript %} + {% for path in config["extra_javascript"] %} {% endfor %} {% endblock %}