diff options
author | Dan McGee <dan@archlinux.org> | 2013-02-03 20:39:08 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-02-03 20:39:08 +0100 |
commit | 844ed8109317db882e5d2b2ae8fa6084f794d798 (patch) | |
tree | d7df0a8f921c3b651dcfe2a86151bf1faf1aa200 /templates | |
parent | 26d6fba089f525505be4ee751fd8a4d37961cad0 (diff) | |
download | archweb-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.html | 2 | ||||
-rw-r--r-- | templates/public/index.html | 2 |
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 © 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 %} |