diff options
Diffstat (limited to 'design/templates/details/page.html')
-rw-r--r-- | design/templates/details/page.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/design/templates/details/page.html b/design/templates/details/page.html index d4435b3..d6cc4de 100644 --- a/design/templates/details/page.html +++ b/design/templates/details/page.html @@ -3,7 +3,7 @@ {% 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 bodyid%}id="{{object.title|slugify}}"{%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> → </li> @@ -14,6 +14,7 @@ <article> <header class="post-header"> <h1 class="post-title">{{object.title}}</h1> + {%if object.sub_title %}<h2 class="post-subtitle">{{object.sub_title}}</h2>{%endif%} </header> <div class="post-article"> {{object.body_html|safe|smartypants|widont}} |