summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-02-03 20:39:08 +0100
committerDan McGee <dan@archlinux.org>2013-02-03 20:39:08 +0100
commit844ed8109317db882e5d2b2ae8fa6084f794d798 (patch)
treed7df0a8f921c3b651dcfe2a86151bf1faf1aa200 /templates
parent26d6fba089f525505be4ee751fd8a4d37961cad0 (diff)
downloadarchweb-844ed8109317db882e5d2b2ae8fa6084f794d798.tar.gz
archweb-844ed8109317db882e5d2b2ae8fa6084f794d798.tar.xz
Move the home page script block further down the page
Put it after every bit of HTML content, including the page footer. Right now this was the only page using this block in the main template; we should move some other pages using a lot of JS to this format as well. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/public/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index c6aa3f1..cc507fb 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -68,7 +68,6 @@
{% block content_right %}{% endblock %}
</div>
{% endblock %}
- {% block content_after %}{% endblock %}
<div id="footer">
<p>Copyright &copy; 2002-{% now "Y" %} <a href="mailto:jvinet@zeroflux.org"
title="Contact Judd Vinet">Judd Vinet</a> and <a href="mailto:aaron@archlinux.org"
@@ -82,5 +81,6 @@
the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.</p>
</div>
</div>
+ {% block script_block %}{% endblock %}
</body>
</html>
diff --git a/templates/public/index.html b/templates/public/index.html
index 1a1a8f2..8926a06 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -208,7 +208,7 @@
{% endcache %}
{% endblock %}
-{% block content_after %}
+{% block script_block %}
<div id="konami" style="display:none;"></div>
{% load cdn %}{% jquery %}