rra
7 years ago
3 changed files with 79 additions and 96 deletions
@ -1,80 +1,71 @@ |
|||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||
|
|
||||
{% block head %} |
{% block head %} |
||||
{{ super() }} |
{{ super() }} |
||||
{% if article.description %} |
{% if article.description %} |
||||
<meta name="description" content="{{article.description}}" /> |
<meta name="description" content="{{article.description}}" /> |
||||
{% endif %} |
{% endif %} |
||||
|
|
||||
{% if article.tags or article.category or article.keywords %} |
{% if article.tags or article.category or article.keywords %} |
||||
<meta name="keywords" content="{{ [article.tags|join(', '), article.category, article.keywords]|join(', ') }}" /> |
<meta name="keywords" content="{{ [article.tags|join(', '), article.category, article.keywords]|join(', ') }}" /> |
||||
{% endif %} |
{% endif %} |
||||
{% endblock %} |
{% endblock %} |
||||
|
|
||||
<div class="file type_folder"> |
{% block content %} |
||||
<a title="../" href="/log/" id="link0" class="type_folder"><img alt="../" src="/icons/back.png" class="type_folder"></a> |
<header id="banner"> |
||||
</br> |
{% for p in pages %} |
||||
<span class="filename">../</span> |
{% if p.title == 'header' %} |
||||
|
<div id="title">{{ p.content }}</div> |
||||
|
{% endif %} |
||||
|
{% endfor %} |
||||
|
</header> |
||||
|
|
||||
{% block content %} |
<section id="content" class="body h-entry"> |
||||
<section id="content" class="body h-entry"> |
<div class="entry-title p-name"> |
||||
<header id="banner"> |
{{ article.title }} |
||||
{% for p in pages %} |
</div> |
||||
{% if p.title == 'header' %} |
<div class="article-info"> |
||||
<div id="title">{{ p.content }}</div> |
<div class="featured-image u-photo"> |
||||
{% endif %} |
{% if article.featured_image %} |
||||
{% endfor %} |
{% set thumb_size ='/thumb'%} |
||||
</header> |
<a href="{{ article.featured_image }}"> |
||||
<div class="entry-title p-name"> |
{% if article.featured_image.endswith('.gif') %} |
||||
{{ article.title }} |
{% set thumb_size =''%} |
||||
|
{% endif %} |
||||
|
<img src="{{ article.featured_image | replace('images','images'+thumb_size) }}"> |
||||
|
</a> |
||||
|
{% endif %} |
||||
</div> |
</div> |
||||
<div class="article-info"> |
<div class="event-details"> |
||||
<div class="featured-image u-photo"> |
{% if article.event_start %} |
||||
{% if article.featured_image %} |
<div>{{ article.event_start }}</div> |
||||
{% set thumb_size ='/thumb'%} |
{% endif %} |
||||
<a href="{{ article.featured_image }}"> |
</div> |
||||
{% if article.featured_image.endswith('.gif') %} |
<div class="post-info"> |
||||
{% set thumb_size =''%} |
{% if article.category %} |
||||
{% endif %} |
<div class="categories"> |
||||
<img src="{{ article.featured_image | replace('images','images'+thumb_size) }}"> |
<span itemprop="articleSection"> |
||||
|
<a href="{{ article.category.url }}" rel="category">{{ article.category }}</a> |
||||
</a> |
</span> |
||||
{% endif %} |
|
||||
</div> |
|
||||
<div class="event-details"> |
|
||||
{% if article.event_start %} |
|
||||
<div>{{ article.event_start }}</div> |
|
||||
{% endif %} |
|
||||
</div> |
</div> |
||||
<div class="post-info"> |
{% endif %} |
||||
{% if article.category %} |
{% if article.translations %} |
||||
<div class="categories"> |
<div class="article-translation"> |
||||
<span itemprop="articleSection"> |
{% for translation in article.translations %} |
||||
<a href="{{ article.category.url }}" rel="category">{{ article.category }}</a> |
{% if translation.lang == 'nl' %}<a href="{{ translation.url }}">Lees dit artikel in het Nederlands</a> |
||||
</span> |
{% endif %} |
||||
|
{% if translation.lang == 'en' %}<a href="{{ translation.url }}">Read this article in English</a> |
||||
|
{% endif %} |
||||
|
{% endfor %} |
||||
</div> |
</div> |
||||
{% endif %} |
{% endif %} |
||||
{% if article.translations %} |
|
||||
<div class="article-translation"> |
|
||||
{% for translation in article.translations %} |
|
||||
{% if translation.lang == 'nl' %} |
|
||||
<a href="{{ translation.url }}">Lees dit artikel in het Nederlands</a> |
|
||||
{% endif %} |
|
||||
|
|
||||
{% if translation.lang == 'en' %} |
|
||||
<a href="{{ translation.url }}">Read this article in English</a> |
|
||||
{% endif %} |
|
||||
{% endfor %} |
|
||||
</div> |
|
||||
{% endif %} |
|
||||
</div> |
|
||||
</div> |
</div> |
||||
<div class="entry-content-container"> |
</div> |
||||
<div class="entry-content e-content"> |
<div class="entry-content-container"> |
||||
|
<div class="entry-content e-content"> |
||||
{{ article.content }} |
{{ article.content }} |
||||
<div class="separator"><hr></div> |
<div class="separator"><hr></div> |
||||
</div><!-- /.entry-content --> |
</div><!-- /.entry-content --> |
||||
</div><!-- /.entry-content-container --> |
</div><!-- /.entry-content-container --> |
||||
</section> |
</section> |
||||
{% endblock %} |
{% endblock %} |
||||
|
Loading…
Reference in new issue