summaryrefslogtreecommitdiff
path: root/design/templates/details/entry.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/details/entry.html')
-rw-r--r--design/templates/details/entry.html30
1 files changed, 29 insertions, 1 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index 494f926..a2b6873 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -7,7 +7,6 @@
{% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %}
{%block extrahead%}
<link rel="canonical" href="https://luxagraf.net{{object.get_absolute_url}}" />
- <link rel="amphtml" href="https://luxagraf.net{{object.get_absolute_url}}.amp" />
<meta name="ICBM" content="{{object.latitude}}, {{object.longitude}}" />
<meta name="geo.position" content="{{object.latitude}}; {{object.longitude}}" />
<meta name="geo.placename" content="{% if object.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%}">
@@ -86,6 +85,35 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t ==
{%endif%}
{% endblock %}
{% block js %}
+<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<defs>
+<symbol id="icon-external" viewBox="0 0 12 12">
+<title>external</title>
+<path fill="#FFF" stroke="#fff" stroke-width="10" d="m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z"/>
+</svg>
+<!--Fallback -->
+ external
+</symbol>
+</defs>
+</svg>
+<script src="/media/js/lightbox.js" type="text/javascript"></script>
+<script>
+var opts= {
+ //nextOnClick: false,
+ captions: true,
+ onload: function(){
+ var im = document.getElementById("jslghtbx-contentwrapper");
+ var link = im.appendChild(document.createElement('a'))
+ link.href = im.firstChild.src;
+ link.innerHTML= "open ";
+ link.target = "_blank";
+ link.setAttribute('class', 'p-link');
+ im.appendChild(link);
+ }
+};
+var lightbox = new Lightbox();
+lightbox.load(opts);
+</script>
{% with object.get_template_name_display as t %}{%if t == "single" or t == "single-dark" %}
<script src="/media/js/leaflet-master/leaflet-mod.js"></script>
<script src="/media/js/detail.min.js"></script>