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

59 lines
1.7 KiB
HTML

{% extends "base.html" %}
{% block htmltitle %}
{{ category|title }}
{% endblock %}
{% block metadata %}
{% for tag, value in page.ogtags %}
<meta property="{{ tag }}" content="{{ value|striptags|e }}" />
{% endfor %}
{% endblock %}
{% block content %}
<section class="bg-primary">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<h1 class="section-heading">{{ category.name|format_title }}</h1>
<hr class="light">
</div>
</div>
</div>
</section>
{% if category.page.content %}
<section>
<div class="container">
{{ category.page.content }}
</div>
</section>
{% endif %}
{% 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 %}
<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>
</div>
</div>
</a>
</div>
{% endfor %}
</div>
</div>
</section>
{% endif %}
{% endblock %}