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 %}