diff options
| author | czaks <marcin@6irc.net> | 2016-05-05 14:38:24 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-05 15:37:50 +0200 |
| commit | 02c3c28a16127511a785e428547f8a4dc60abaf7 (patch) | |
| tree | 8c65784b0e7a999cb1b8c9459d489f00d15a46d8 /templates/index.html | |
| parent | 6991ca270eb7ecd879a06971cc9df0334aab7687 (diff) | |
main.js: a bit more sane code
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 6 |
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> |
