content css

This commit is contained in:
bkfox
2020-09-22 03:46:11 +02:00
parent 3313719790
commit c10a114393
7 changed files with 16 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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 %}

View File

@ -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 %}

View File

@ -8,7 +8,8 @@
{% endblock %}
{% block content %}{{ block.super }}
{% block content %}
{{ block.super }}
<br>
{% with has_headline=False %}

View File

@ -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'