fix errors in templates
This commit is contained in:
		@ -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 %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user