articles get slug class

This commit is contained in:
boyska 2015-06-25 14:11:26 +02:00
parent abc9dc0e34
commit aa8d88ef47

View file

@ -28,8 +28,8 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<section id="content" class="body" lang="{{page.lang}}"> <article id="content" class="body slug-{{page.slug}}" lang="{{page.lang}}">
<h1 class="entry-title">{{ page.title }}</h1> <h1 class="entry-title">{{ page.title }}</h1>
{% import 'includes/translations.html' as translations with context %} {% import 'includes/translations.html' as translations with context %}
{{ translations.translations_for(page) }} {{ translations.translations_for(page) }}
{% if PDF_PROCESSOR %} {% if PDF_PROCESSOR %}
@ -43,5 +43,5 @@
{% include 'includes/comments.html' %} {% include 'includes/comments.html' %}
{% endif %} {% endif %}
</div> </div>
</section> </article>
{% endblock %} {% endblock %}