diff options
| -rw-r--r-- | templates/themes/catalog/catalog.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 441e3a0a..72cb8698 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -73,9 +73,17 @@ <br><a href="http://tinyboard.org/">Tinyboard</a> Copyright © 2010-2014 Tinyboard Development Group <br><a href="https://int.vichan.net/devel/">vichan</a> Copyright © 2012-2014 vichan-devel</p> </footer> - <script type="text/javascript"> - ready(); - </script> + <script type="text/javascript">{% raw %} + var styles = { + {% endraw %} + {% for name, uri in config.stylesheets %}{% raw %}'{% endraw %}{{ name|addslashes }}{% raw %}' : '{% endraw %}/stylesheets/{{ uri|addslashes }}{% raw %}', + {% endraw %}{% endfor %}{% raw %} + }; onready(init); + {% endraw %}</script> + + <script type="text/javascript">{% raw %} + ready(); + {% endraw %}</script> </body> </html> {% endfilter %} |
