Browse Source

laatste structuur aanpassingen

master
mb@mb 6 years ago
parent
commit
c437d29e47
  1. 50
      theme/wttf/templates/article.html
  2. 2
      theme/wttf/templates/base.html
  3. 9
      theme/wttf/templates/index.html

50
theme/wttf/templates/article.html

@ -4,41 +4,29 @@
{% if article.description %} {% if article.description %}
<meta name="description" content="{{article.description}}" /> <meta name="description" content="{{article.description}}" />
{% endif %} {% endif %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<section id="content" class="body"> <section id="content" class="body">
<header> <h1 class="entry-title p-name">
<h2 class="entry-title"> <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" </h1>
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> <div class="entry-subtitle">
{% import 'translations.html' as translations with context %} A
{{ translations.translations_for(article) }} <span class="entry-category">
</header> <em>{{ article.category }}</em>
<footer class="post-info"> </span>
<time class="published" datetime="{{ article.date.isoformat() }}"> about
{{ article.locale_date }} <span class="entry-tags">
</time> {% for tag in article.tags %}
{% if article.modified %} <span itemprop="keywords">
<time class="modified" datetime="{{ article.modified.isoformat() }}"> <a href="/{{ tag.url }}" rel="tag">{{ tag }}</a>
{{ article.locale_modified }} </span>
</time>
{% endif %}
{% if article.authors %}
<address class="vcard author">
By {% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %} {% endfor %}
</address> </span>
{% endif %} published on
</footer><!-- /.post-info --> <span class="entry-date dt-published">{{ article.date }}</span>
<div class="entry-content"> </div>
{{ article.content }} <div class="entry-content e-content">{{ article.content }}</div>
</div><!-- /.entry-content -->
</section> </section>
{% endblock %} {% endblock %}

2
theme/wttf/templates/base.html

@ -45,7 +45,7 @@
</select> </select>
Federation Federation
</h1> </h1>
</header><!-- /#banner --> </header>
{% block content %} {% block content %}
{% endblock %} {% endblock %}
<footer> <footer>

9
theme/wttf/templates/index.html

@ -74,15 +74,6 @@
</article> </article>
</li> </li>
{% endif %} {% endif %}
{% if loop.last %}
{% if loop.length > 1 or articles_page.has_other_pages() %}
</ul>
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section>
{% endif %}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% endblock content %} {% endblock content %}

Loading…
Cancel
Save