summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-12-25 18:31:35 +0100
committerczaks <marcin@6irc.net>2013-12-25 18:31:35 +0100
commit08e4fd9a0a2eb1f0ceb97e96905e042bc339571d (patch)
treea4318f8ac7c41fd3124e1bc7afad52433f72e5c3 /templates
parenta4d3aedab850a2156ccc81b783aab326937983c7 (diff)
declare active_page for page.html template
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index 0d33c16f..dd3eb97e 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -2,6 +2,9 @@
<html>
<head>
<meta charset="utf-8">
+ <script type="text/javascript">
+ active_page = "page";
+ </script>
{% include 'header.html' %}
<title>{{ title }}</title>
</head>
@@ -22,4 +25,4 @@
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2013 Tinyboard Development Group</p>
</footer>
</body>
-</html> \ No newline at end of file
+</html>