2018-07-20 16:45:42 +01:00
|
|
|
{% extends "base.j2.html" %}
|
|
|
|
{% block lang %}{% endblock %}
|
2018-11-10 20:49:13 +00:00
|
|
|
|
|
|
|
{% block licence %}
|
|
|
|
<link rel="license" href="https://spdx.org/licenses/{{ site.licence }}.html" type="{{ site.licence }}" />
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-07-20 16:45:42 +01:00
|
|
|
{% block title %}{{ category.title }}{% endblock %}
|
|
|
|
{% block meta %}
|
2018-10-10 22:36:48 +01:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="{{ category.title }} RSS feed" href="{{ category.feed }}" />
|
|
|
|
<link rel="alternate" type="application/atom+xml" title="{{ category.title }} ATOM feed" href="{{ category.feed }}atom.xml" />
|
2019-01-15 21:28:58 +00:00
|
|
|
<link rel="feed" title="{{ category.title}} feed" href="{{ category.url }}" />
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endblock %}
|
2019-01-21 16:10:27 +00:00
|
|
|
|
|
|
|
{% block pagination %}
|
|
|
|
{% if category.display != 'flat' %}
|
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
{% if category.previous %}
|
|
|
|
<li>
|
|
|
|
<a rel="prev" href="{{ category.previous.url }}">
|
|
|
|
<i>«</i>
|
|
|
|
<strong>{{ category.previous.label }}</strong>
|
|
|
|
{% if category.currentyear != category.previous.label %}
|
|
|
|
Jan - Dec
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<span class="current">
|
|
|
|
{{ category.current }}
|
|
|
|
{% if category.currentyear != category.current %}
|
|
|
|
Jan - Dec
|
|
|
|
{% endif %}
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% if category.next %}
|
|
|
|
<li>
|
|
|
|
<a rel="next" href="{{ category.next.url }}">
|
|
|
|
<strong>{{ category.next.label }}</strong>
|
|
|
|
Jan - Dec
|
|
|
|
<i>»</i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-07-20 16:45:42 +01:00
|
|
|
{% block content %}
|
2018-12-01 10:43:13 +00:00
|
|
|
<main class="content-body h-feed hfeed {{ category.name }}" property="h-feed">
|
2018-07-20 16:45:42 +01:00
|
|
|
<header>
|
2019-01-21 16:10:27 +00:00
|
|
|
<p>
|
|
|
|
<svg width="128" height="128"><use xlink:href="#icon-{{ category.name }}" /></svg>
|
|
|
|
</p>
|
2018-07-20 16:45:42 +01:00
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
|
|
{% set year = [0] %}
|
|
|
|
{% for post in posts %}
|
|
|
|
{% set _year = year.pop() %}
|
|
|
|
{% if category.display == 'flat' and _year != post.year %}
|
2019-01-21 16:10:27 +00:00
|
|
|
{% if not loop.first %}
|
|
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
<section>
|
2018-07-20 16:45:42 +01:00
|
|
|
<h2>{{ post.year }}</h2>
|
|
|
|
{% endif %}
|
|
|
|
{% set _ = year.append(post.year)%}
|
|
|
|
|
2018-11-04 12:57:51 +00:00
|
|
|
<article class="h-entry hentry singular" property="h-entry" lang="{{ post.lang }}" itemprop="blogPost" itemscope="" itemtype="http://schema.org/BlogPosting" itemref="author">
|
2018-07-20 16:45:42 +01:00
|
|
|
<header>
|
|
|
|
{% if category.display == 'flat' %}
|
2018-11-04 12:57:51 +00:00
|
|
|
<h3 class="p-name entry-title" property="p-name" itemprop="name headline" >
|
2018-07-20 16:45:42 +01:00
|
|
|
{% else %}
|
2018-11-04 12:57:51 +00:00
|
|
|
<h2 class="p-name entry-title" property="p-name" itemprop="name headline" >
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endif %}
|
2018-08-14 14:56:13 +01:00
|
|
|
{% if post.is_reply %}
|
|
|
|
<svg class="icon" width="16" height="16">
|
|
|
|
<use xlink:href="#icon-reply" />
|
|
|
|
</svg>
|
2018-11-04 12:57:51 +00:00
|
|
|
<a href="{{ post.url }}/" class="u-url bookmark" property="u-url" itemprop="url mainEntityOfPage">
|
2018-08-14 14:56:13 +01:00
|
|
|
RE:
|
|
|
|
</a>
|
2018-11-04 12:57:51 +00:00
|
|
|
<a href="{{ post.is_reply }}" class="u-in-reply-to" property="u-in-reply-to">
|
2018-08-14 14:56:13 +01:00
|
|
|
{{ post.is_reply }}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
2018-11-04 12:57:51 +00:00
|
|
|
<a href="{{ post.url }}" title="{{ post.title }}" class="u-url bookmark" property="u-url" itemprop="url mainEntityOfPage">
|
|
|
|
<span class="entry-title p-name" property="p-name">{{ post.title }}</span>
|
2018-07-20 16:45:42 +01:00
|
|
|
</a>
|
2018-08-14 14:56:13 +01:00
|
|
|
{% endif %}
|
2018-07-20 16:45:42 +01:00
|
|
|
{% if category.display == 'flat' %}
|
|
|
|
</h3>
|
|
|
|
{% else %}
|
|
|
|
</h2>
|
|
|
|
{% endif %}
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{% if post.summary %}
|
2018-11-04 12:57:51 +00:00
|
|
|
<div class="e-summary entry-summary" property="e-summary" itemprop="description">
|
2018-07-25 13:24:31 +01:00
|
|
|
{{ post.html_summary }}
|
2018-07-20 16:45:42 +01:00
|
|
|
<p class="more">
|
2018-08-08 09:42:42 +01:00
|
|
|
<a href="{{ post.url }}" title="{{ post.title }}">
|
2018-07-20 16:45:42 +01:00
|
|
|
{% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2018-11-04 12:57:51 +00:00
|
|
|
<div class="e-content entry-content" property="e-content" itemprop="articleBody">
|
2018-07-20 16:45:42 +01:00
|
|
|
{{ post.html_content }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2018-09-04 21:58:25 +01:00
|
|
|
|
2018-11-04 12:57:51 +00:00
|
|
|
<footer aria-hidden="true" hidden="hidden">
|
2018-09-04 21:58:25 +01:00
|
|
|
<span class="published updated">
|
2018-11-04 12:57:51 +00:00
|
|
|
<time class="dt-published dt-updated" property="dt-published dt-updated" datetime="{{ post.pubtime }}" itemprop="dateModified datePublished">{{ post.pubdate }}</time>
|
2018-09-04 21:58:25 +01:00
|
|
|
</span>
|
|
|
|
{% if not post.has_mainimg %}
|
2018-11-04 12:57:51 +00:00
|
|
|
<img src="{{ author.avatar }}"
|
|
|
|
itemprop="image"
|
|
|
|
width="0"
|
|
|
|
height="0"
|
|
|
|
alt="Photo of {{ author.name }}" />
|
2018-09-04 21:58:25 +01:00
|
|
|
{% endif %}
|
2018-11-04 12:57:51 +00:00
|
|
|
<p class="p-author h-card vcard" property="p-author h-card">
|
2018-09-04 21:58:25 +01:00
|
|
|
<img class="photo avatar u-photo u-avatar"
|
2018-11-04 12:57:51 +00:00
|
|
|
property="u-photo u-avatar"
|
2018-09-04 21:58:25 +01:00
|
|
|
src="{{ author.avatar }}"
|
|
|
|
alt="Photo of {{ author.name }}" />
|
|
|
|
<a class="fn p-name url u-url u-uid"
|
2018-11-04 12:57:51 +00:00
|
|
|
property="p-name u-url u-uid"
|
2018-09-04 21:58:25 +01:00
|
|
|
href="{{ author.url }}"
|
|
|
|
rel="author">
|
|
|
|
{{ author.name }}
|
|
|
|
</a>
|
2018-11-04 12:57:51 +00:00
|
|
|
<a class="u-email email" property="u-email" href="mailto:{{ author.email }}">
|
2018-09-04 21:58:25 +01:00
|
|
|
{{ author.email }}
|
|
|
|
</a>
|
|
|
|
</p>
|
2018-11-04 12:57:51 +00:00
|
|
|
</footer>
|
2018-07-20 16:45:42 +01:00
|
|
|
</article>
|
2019-01-21 16:10:27 +00:00
|
|
|
{% if loop.last %}
|
|
|
|
</section>
|
|
|
|
{% endif %}
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endfor %}
|
2018-08-13 14:57:27 +01:00
|
|
|
</main>
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endblock %}
|