This repository was archived by the owner on May 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcategory.html
More file actions
32 lines (29 loc) · 1.32 KB
/
category.html
File metadata and controls
32 lines (29 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "base.html" %}
{% block title %}{{ NEST_CATEGORY_HEAD_TITLE }} {{ category|capitalize }} - {{ super() }}{% endblock title %}
{% block description %}{{ NEST_CATEGORY_HEAD_DESCRIPTION }} {{ category|capitalize }}{% endblock description %}
{% block header %}
<div class="container header-wrapper">
<div class="row">
<div class="col-lg-12">
<div class="header-content">
<h1 class="header-title text-uppercase">{{ NEST_CATEGORY_HEADER_TITLE }} : {{ category|capitalize }}</h1>
<div class="header-underline"></div>
<p class="header-subtitle header-subtitle-homepage">{{ NEST_CATEGORY_HEADER_SUBTITLE }} "{{ category|capitalize }}"</p>
</div>
</div>
</div>
</div>
{% endblock header %}
{% block content %}
<div class="archive-container">
<div class="container content archive">
<h2><a href="{{ SITEURL }}/{{ category.url }}">{{ category|capitalize }}</a></h2>
<dl class="dl-horizontal">
{% for article in articles %}
<dt>{{ article.locale_date}}</dt>
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
</dl>
</div>
</div>
{% endblock content %}