base.tmpl 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ## -*- coding: utf-8 -*-
  2. <%namespace name="base" file="base_helper.tmpl" import="*"/>
  3. <%namespace name="header" file="base_header.tmpl" import="*"/>
  4. <%namespace name="footer" file="base_footer.tmpl" import="*"/>
  5. <%namespace name="annotations" file="annotation_helper.tmpl"/>
  6. ${set_locale(lang)}
  7. ${base.html_headstart()}
  8. <%block name="extra_head">
  9. ### Leave this block alone.
  10. </%block>
  11. ${template_hooks['extra_head']()}
  12. </head>
  13. <body>
  14. <a href="#content" class="sr-only sr-only-focusable">${messages("Skip to main content")}</a>
  15. ${header.html_header()}
  16. <div id="container">
  17. <main id="content" role="main">
  18. <%block name="content"></%block>
  19. </main>
  20. ${footer.html_footer()}
  21. </div>
  22. ${body_end}
  23. ${template_hooks['body_end']()}
  24. ${base.late_load_js()}
  25. <script src="/assets/js/konami.js"></script>
  26. <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
  27. <script>
  28. var easter_egg = new Konami();
  29. easter_egg.code = function() {
  30. $(".thomas").toggleClass("whoa");
  31. $("body").scrollTop(0);
  32. }
  33. easter_egg.load();
  34. // love you, thomas!
  35. // yours, @_phi + @meggykawsek
  36. </script>
  37. </body>
  38. </html>