changed main content display (div instead of article)
This commit is contained in:
parent
a10880c289
commit
0c6c836ebd
@ -12,7 +12,7 @@ article.title }}{% endif
|
|||||||
{% endblock content_header %}
|
{% endblock content_header %}
|
||||||
|
|
||||||
{% block content_body %}
|
{% block content_body %}
|
||||||
<article class="article-body">
|
<div class="article-body">
|
||||||
{% if article.content | length is eq(0) %}
|
{% if article.content | length is eq(0) %}
|
||||||
<div class="no-content">
|
<div class="no-content">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -32,5 +32,5 @@ article.title }}{% endif
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<footer class="article-footer"><a href="/{{ article.save_as.split('/')[:-1] | join('/') }}/">← {{ article.category }}</a></footer>
|
<footer class="article-footer"><a href="/{{ article.save_as.split('/')[:-1] | join('/') }}/">← {{ article.category }}</a></footer>
|
||||||
</article>
|
</div>
|
||||||
{% endblock content_body %}
|
{% endblock content_body %}
|
||||||
@ -10,8 +10,13 @@
|
|||||||
{% endblock content_header %}
|
{% endblock content_header %}
|
||||||
|
|
||||||
{% block content_body %}
|
{% block content_body %}
|
||||||
<article>{{ page.content }}</article>
|
<div>
|
||||||
|
{{ page.content }}
|
||||||
|
</div>
|
||||||
{% endblock content_body %}
|
{% endblock content_body %}
|
||||||
|
|
||||||
{% block content_footer %}
|
{% block content_footer %}
|
||||||
|
{% if page.last_line is defined %}
|
||||||
|
<p class="muted">{{ page.last_line }}</p>
|
||||||
|
{% endif %}
|
||||||
{% endblock content_footer %}
|
{% endblock content_footer %}
|
||||||
Loading…
Reference in New Issue
Block a user