summaryrefslogtreecommitdiff
path: root/design/templates/details/page.html
blob: cf3a28722066476c223f51d60f171b9eebff1d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends 'base.html' %}
{% load typogrify_tags %}
{% block pagetitle %}Luxagraf | {{object.title}}{% endblock %}
{% block metadescription %}{{object.meta_description}}{% endblock %}
{%block htmlclass%}class="detail"{%endblock%}
{%block bodyid%}id="{{object.title|lower}}"{%endblock%}								
				
{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
        <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
        {% if object.path%}<li><a href="/{{object.path|slugify}}/">{{object.path}}</a> &rarr; </li>{%endif%}
        <li>{{object.title}}</li>
    </ul>
    <main>
    <article>
        <h1 class="post-title">{{object.title}}</h1>
        <div class="post-article">
        {{object.body_html|safe|smartypants|widont}}
        </div>  
    </article>
    </main>
{% 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 %}