Skip to content

Template layout (WIP)

Ilias Trichopoulos edited this page Dec 1, 2016 · 8 revisions

Conference page

The template of a conference page should follow the structure below:

{% extends 'layout/conference_page_base.html' %}

The available blocks are:

  • title
  • title_actions
  • subtitle
  • page_actions
  • description
  • info
  • content

{% block content %}

The content block should be split to <section>s. The following structure will apply the proper styling and spacing to the sections of the page:

<section>
    <div class="header">
        <div class="header-row">
            <h3>{% trans %}Section title{% endtrans %}</h3>
            <!-- For a toolbar in the same line as the h3 just add a simple toolbar below it: -->
            <div class="toolbar">...</div>
        </div>
        <!-- Otherwise, if you want a toolbar (or toolbars) in the next line, add them here: -->
        <div class="toolbar">...</div>
    </div>
    <div>
        <!-- Content of the section -->
    </div>
</section>
Clone this wiki locally