Browse Source

laatste structuur aanpassingen

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

2
theme/wttf/templates/base.html

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

9
theme/wttf/templates/index.html

@ -74,15 +74,6 @@
</article>
</li>
{% 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 %}
{% endif %}
{% endblock content %}

Loading…
Cancel
Save