1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/theme/templates/category.html

44 lines
1.2 KiB
HTML
Raw Normal View History

2016-05-27 23:19:03 +01:00
{% extends "base.html" %}
{% block htmltitle %}
2017-01-19 18:25:22 +00:00
{{ category|get_html_title }}
2016-05-27 23:19:03 +01:00
{% endblock %}
2016-06-12 11:34:20 +01:00
{% block metadata %}
2016-07-29 08:09:02 +01:00
{{ page.metatags }}
2016-06-12 11:34:20 +01:00
{% endblock %}
2016-05-27 23:19:03 +01:00
{% block content %}
2017-01-17 22:03:25 +00:00
{% include 'extras/header.html' with instance=category %}
2016-06-26 21:46:02 +01:00
{% if category.page.content %}
<section>
<div class="container">
{{ category.page.content }}
</div>
</section>
{% endif %}
2016-06-26 21:46:02 +01:00
{% if not category.page.hide_list %}
2016-07-31 22:29:22 +01:00
<section>
<div class="container">
2016-06-26 21:46:02 +01:00
<div class="row no-gutter">
2016-08-06 14:35:55 +01:00
{% for article in articles|sort(attribute="title") %}
2016-08-28 16:36:16 +01:00
<div class="media category">
<div class="media-left">
{% if article.image %}
<div class="image" data-image="{{ article.image }}"></div>
{% endif %}
</div>
2016-08-08 21:09:08 +01:00
<div class="media-body">
<a href="/{{ article.url }}">
2017-01-19 18:25:22 +00:00
<h4 class="media-heading">{{ article|get_title }}</h4>
2016-08-08 21:09:08 +01:00
</a>
<p>{{ article.summary|striptags|e }}</p>
</div>
2016-06-26 21:46:02 +01:00
</div>
{% endfor %}
</div>
2016-05-27 23:19:03 +01:00
</div>
2016-06-26 21:46:02 +01:00
</section>
{% endif %}
2016-05-27 23:19:03 +01:00
{% endblock %}