summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 41e4867d..d4c56707 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -4,10 +4,12 @@
<meta charset="utf-8">
<script type="text/javascript">
+ var
{% if not no_post_form %}
- var active_page = "index";
+ active_page = "index"
+ , board_name = "{{ board.uri }}";
{% else %}
- var active_page = "ukko";
+ active_page = "ukko";
{% endif %}
</script>