Don't add the galleria scripts in the album pages (fix #7).
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user