Don't add the galleria scripts in the album pages (fix #7).

This commit is contained in:
Simon
2012-12-10 21:58:38 +01:00
parent b2c93bbb2a
commit 2d5407d073

View File

@@ -61,6 +61,7 @@
</footer>
</div>
{% if images %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="{{ theme.path }}/js/jquery-1.8.2.min.js"%3E%3C/script%3E'))</script>
<script src="{{ theme.path }}/js/galleria-1.2.8.min.js"></script>
@@ -72,5 +73,6 @@
});
Galleria.run("#gallery");
</script>
{% endif %}
</body>
</html>