forked from DGNum/gestioCOF
1499c0bced
K-Fêt - Wagtail - Page content becomes a StreamField. - GroupTeam snippet becomes a block for stream field. - Navigation menu moved becomes a "flatmenu", preventing possible future conflicts. - Page layout can be modified in wagtail admin. K-Fêt - Add shorthands for ukf account balance/article price. - Cleaning stylesheets and templates.
41 lines
918 B
HTML
41 lines
918 B
HTML
{% extends page.layout %}
|
|
{% load static wagtailcore_tags wagtailuserbar %}
|
|
|
|
{# CSS/JS #}
|
|
|
|
{% block extra_head %}
|
|
{{ block.super }}
|
|
<link rel="stylesheet" type="text/css" href="{% static "kfetcms/css/index.css" %}">
|
|
{% endblock %}
|
|
|
|
{# Titles #}
|
|
|
|
{% block title %}{{ page.seo_title }}{% endblock %}
|
|
{% block header-title %}{{ page.title }}{% endblock %}
|
|
|
|
{# Layout #}
|
|
|
|
{% block main-size %}{{ page.main_size|default:block.super }}{% endblock %}
|
|
{% block mult-count %}{{ page.col_count|default:block.super }}{% endblock %}
|
|
|
|
{% block main-class %}cms main-bg{% endblock %}
|
|
|
|
{# Content #}
|
|
|
|
{% block main %}
|
|
|
|
{% for block in page.content %}
|
|
<div class="{% if block.block_type == "rich" or block.block_type == "group" %}unbreakable{% endif %}">
|
|
{% include_block block %}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% wagtailuserbar %}
|
|
|
|
{% endblock %}
|
|
|
|
{# Footer #}
|
|
|
|
{% block footer %}
|
|
{% include "kfet/base_footer.html" %}
|
|
{% endblock %}
|