2018-07-20 16:45:42 +01:00
|
|
|
{% extends "base.j2.html" %}
|
|
|
|
{% block lang %}{% endblock %}
|
2018-11-10 20:49:13 +00:00
|
|
|
|
2018-07-20 16:45:42 +01:00
|
|
|
{% block title %}{{ category.title }}{% endblock %}
|
|
|
|
{% block meta %}
|
2019-05-29 20:34:47 +01:00
|
|
|
<link rel="canonical" href="{{ category.url }}" />
|
|
|
|
<link rel="alternate" type="application/rss+xml" title="{{ category.title }} RSS feed" href="{{ category.feed }}{{ fnames.rss }}" />
|
|
|
|
<link rel="alternate" type="application/atom+xml" title="{{ category.title }} ATOM feed" href="{{ category.feed }}{{ fnames.atom }}" />
|
|
|
|
<link rel="alternate" type="application/json" title="{{ category.title }} JSON feed" href="{{ category.feed }}{{ fnames.json }}" />
|
2019-05-22 20:54:56 +01:00
|
|
|
<link rel="feed" title="{{ category.title}} feed" href="http://www.unmung.com/feed?feed={{ category.feed|urlencode }}" />
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endblock %}
|
2019-01-21 16:10:27 +00:00
|
|
|
|
2018-07-20 16:45:42 +01:00
|
|
|
{% block content %}
|
2020-05-17 18:14:43 +01:00
|
|
|
<div id="main" class="h-feed hatom {{ category.name }}">
|
2018-07-20 16:45:42 +01:00
|
|
|
|
|
|
|
{% set year = [0] %}
|
|
|
|
{% for post in posts %}
|
|
|
|
{% set _year = year.pop() %}
|
2019-08-13 16:59:02 +01:00
|
|
|
{% if _year != post.copyrightYear %}
|
2019-01-21 16:10:27 +00:00
|
|
|
{% if not loop.first %}
|
2020-05-17 18:14:43 +01:00
|
|
|
</div>
|
2019-01-21 16:10:27 +00:00
|
|
|
{% endif %}
|
2020-05-17 18:14:43 +01:00
|
|
|
<div class="year">
|
2019-02-07 19:27:15 +00:00
|
|
|
<h2>{{ post.copyrightYear }}</h2>
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endif %}
|
2019-02-07 19:27:15 +00:00
|
|
|
{% set _ = year.append(post.copyrightYear)%}
|
|
|
|
{% include 'meta-article.j2.html' %}
|
2019-08-13 16:59:02 +01:00
|
|
|
{% if loop.last %}
|
2020-05-17 18:14:43 +01:00
|
|
|
</div>
|
2019-01-21 16:10:27 +00:00
|
|
|
{% endif %}
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endfor %}
|
2020-05-17 18:14:43 +01:00
|
|
|
</div>
|
2018-07-20 16:45:42 +01:00
|
|
|
{% endblock %}
|