From c28dd3890d653842961a81394e8b050f6ba1d22e Mon Sep 17 00:00:00 2001 From: subwarpspeed Date: Sun, 14 Oct 2018 04:01:28 +0200 Subject: [PATCH] GPS location code-block was incorrect, now working I found that the code was wrong (outdated?). It used 'media.exif.long' when the correct is 'media.exif.gps.lon'. It was also a bit unuseful since it showed it on the most zoomed out map (continent level) and no marker. The current link will go to a faily zoomed in (map=18) and put a marker in the map. --- docs/themes.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/themes.rst b/docs/themes.rst index e894b05..59cff7e 100644 --- a/docs/themes.rst +++ b/docs/themes.rst @@ -133,8 +133,11 @@ templates. If available, you can use: .. code-block:: jinja {% if media.exif.gps %} - Go to location + Go to location (OpenStreetMap) {% endif %}