From 4cdfb671032463a42afa8869cb8a067d0712b78a Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Mon, 19 Mar 2018 00:24:13 +0100 Subject: [PATCH] Do not load tiles by default and reorganize a bit galleria's js - Map tiles do not need to be loaded until the map is displayed - It seems that Galleria.run must be called after Galleria.ready, though both seems to work - Mention shortcuts for map and fullscreen --- sigal/themes/galleria/templates/index.html | 82 +++++++++++----------- 1 file changed, 40 insertions(+), 42 deletions(-) diff --git a/sigal/themes/galleria/templates/index.html b/sigal/themes/galleria/templates/index.html index 07d42a8..5aa3d9c 100644 --- a/sigal/themes/galleria/templates/index.html +++ b/sigal/themes/galleria/templates/index.html @@ -96,10 +96,10 @@
{% if settings.show_map and album.show_map %} Show/Hide Map + title="Show/Hide map" alt="Show/Hide Map (m)" /> {% endif %} Fullscreen + title="Fullscreen" alt="Fullscreen (f)" />
{% endif %} @@ -139,24 +139,24 @@ {% endif %}