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

60 lines
1.7 KiB
HTML
Raw Normal View History

2016-05-27 23:19:03 +01:00
{% extends "base.html" %}
{% block htmltitle %}
2016-06-14 13:32:24 +01:00
{{ category|title }}
2016-05-27 23:19:03 +01:00
{% endblock %}
2016-06-12 11:34:20 +01:00
{% block metadata %}
{% for tag, value in page.ogtags %}
<meta property="{{ tag }}" content="{{ value|striptags|e }}" />
{% endfor %}
{% endblock %}
2016-05-27 23:19:03 +01:00
{% block content %}
<section class="bg-primary">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
2016-07-01 09:18:55 +01:00
<h1 class="section-heading">{{ category.name|format_title }}</h1>
2016-05-27 23:19:03 +01:00
<hr class="light">
</div>
</div>
</div>
</section>
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 %}
<section class="no-padding">
<div class="container-fluid">
<div class="row no-gutter">
{% for article in dates %}
<div class="col-lg-4 col-sm-6">
{% if article.image %}
<a href="/{{ article.url }}" class="portfolio-box image" data-image="{{ article.image }}">
{% else %}
<a href="/{{ article.url }}" class="portfolio-box show" >
{% endif %}
2016-06-26 21:46:02 +01:00
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category">
{{ article.title }}
</div>
<div class="project-name">
{{ article.summary|striptags|e }}
</div>
2016-05-27 23:19:03 +01:00
</div>
</div>
2016-06-26 21:46:02 +01:00
</a>
</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 %}