From 0abdec1abeda0ec17f87a9ba52eb91aa6f872917 Mon Sep 17 00:00:00 2001 From: gb0101010101 <7369439+gb0101010101@users.noreply.github.com> Date: Thu, 19 Mar 2020 13:02:54 -0700 Subject: [PATCH 1/9] Add 'head' block, move CSS includes into head, move Javascript includes to before body close tag. --- templates/archive/frontpage_mobile.html | 5 ++++- templates/base.html | 19 ++++++++----------- templates/frontpage3d.html | 2 +- templates/frontpage3d_mobile.html | 5 ++++- templates/frontpage3d_mobilecontrols.html | 7 +++++-- 5 files changed, 22 insertions(+), 16 deletions(-) diff --git a/templates/archive/frontpage_mobile.html b/templates/archive/frontpage_mobile.html index a1064036..ef684ee7 100644 --- a/templates/archive/frontpage_mobile.html +++ b/templates/archive/frontpage_mobile.html @@ -1,7 +1,10 @@ {% extends 'base.html' %} -{% block header %} +{% block head %} +{% endblock %} + +{% block header %} {% endblock %} diff --git a/templates/base.html b/templates/base.html index 7b439a77..c07d462a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,15 +5,7 @@ - - - - - - - - + {% block head %}{% endblock %}