forked from rc/aircox
fix errors in templates
This commit is contained in:
parent
52814c1c5b
commit
62380c054d
|
@ -17,7 +17,9 @@
|
|||
{% else %}
|
||||
{# detail view #}
|
||||
<div class="content">
|
||||
{% if page.cover %}
|
||||
<img class="cover" src="{{ page.cover.file.url }}">
|
||||
{% endif %}
|
||||
<div class="body">
|
||||
{{ page.body|richtext}}
|
||||
</div>
|
||||
|
@ -54,7 +56,7 @@
|
|||
{% include "cms/snippets/list_item.html" %}
|
||||
{% endwith %}
|
||||
{% else %}
|
||||
{{ page.owner }}
|
||||
{{ page.owner|default:'' }}
|
||||
{% endif %}
|
||||
</div>
|
||||
<time datetime="{{ page.specific.date }}">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{% include "cms/snippets/list.html" %}
|
||||
|
||||
{% if url %}
|
||||
<nav><a href="{{ url }}">{{ self.url_text }}</nav>
|
||||
<nav><a href="{{ url }}">{{ self.url_text }}</a></nav>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user