{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "wiki/base.html" %}
{% if category %}
  {% set title = category %}
{% elif tag %}
  {% set title = _('Articles tagged: {tag}')|f(tag=tag) %}
{% else %}
  {% set title = _('All Articles') %}
{% endif %}
{% set crumbs = [(None, title)] %}

{% block content %}
  <article id="document-list" class="main">
    <h1>{{ title }}</h1>
    {% if documents.object_list %}
      <ul class="documents">
        {% for doc in documents.object_list %}
          <li><a href="{{ doc.get_absolute_url() }}">{{ doc.title }}</a></li>
        {% endfor %}
      </ul>
      {{ documents|paginator }}
    {% else %}
      <p>{{ _('There are no articles.') }}</p>
    {% endif %}
  </article>
{% endblock %}

{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "wiki/base.html" %}
{% if category %}
  {% set title = category %}
{% elif tag %}
  {% set title = _('Articles tagged: {tag}')|f(tag=tag) %}
{% else %}
  {% set title = _('All Articles') %}
{% endif %}
{% set crumbs = [(None, title)] %}

{% block content %}
<section id="content">
  <div class="wrap">
    <div id="content-main" class="full">
  <article id="document-list" class="main">
    <h1>{{ title }}</h1>
    {% if documents.object_list %}
      <ul class="documents">
        {% for doc in documents.object_list %}
          <li><a href="{{ doc.get_absolute_url() }}">{{ doc.title }}</a></li>
        {% endfor %}
      </ul>
      {{ documents|paginator }}
    {% else %}
      <p>{{ _('There are no articles.') }}</p>
    {% endif %}
  </article>
    </div>
   </div>
</section>
{% endblock %}

Fix layout of docs/all page with section wrapper markup
Fix layout of docs/all page with section wrapper markup
