Browse Source

add stylesheet choice to catalog theme

pull/40/head
czaks 10 years ago
parent
commit
86eed0b349
  1. 14
      templates/themes/catalog/catalog.html

14
templates/themes/catalog/catalog.html

@ -73,9 +73,17 @@
<br><a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://int.vichan.net/devel/">vichan</a> Copyright &copy; 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 %}

Loading…
Cancel
Save