forked from rc/aircox
content css
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -93,7 +93,7 @@ Usefull context:
|
||||
{% block main %}
|
||||
{% block content %}
|
||||
{% if page and page.content %}
|
||||
{{ page.content|safe }}
|
||||
<section class="content">{{ page.content|safe }}</section>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -10,7 +10,7 @@ Context:
|
||||
{% block header_meta %}{{ block.super }}
|
||||
<span class="column has-text-right">
|
||||
{% if page.category %}
|
||||
{{ page.category.title }} //
|
||||
{{ page.category.title }}
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
@ -8,7 +8,8 @@
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}{{ block.super }}
|
||||
{% block content %}
|
||||
{{ block.super }}
|
||||
|
||||
<br>
|
||||
{% with has_headline=False %}
|
||||
|
@ -107,7 +107,7 @@ class PageListView(BasePageListView):
|
||||
return super().get_context_data(**kwargs)
|
||||
|
||||
|
||||
class PageDetailView(BaseView, DetailView):
|
||||
class PageDetailView(BasePageDetailView):
|
||||
""" Base view class for pages. """
|
||||
template_name = None
|
||||
context_object_name = 'page'
|
||||
|
Reference in New Issue
Block a user