diff options
Diffstat (limited to 'design/templates/details')
-rw-r--r-- | design/templates/details/page.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/design/templates/details/page.html b/design/templates/details/page.html index 833523a..a09a63a 100644 --- a/design/templates/details/page.html +++ b/design/templates/details/page.html @@ -16,3 +16,10 @@ </div> </article> {% endblock %} +{% block js %} +<script src="/media/js/lightbox.js" type="text/javascript"></script> +<script>var opts={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> +{% endblock %} + + |