aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/immae/history/_includes/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/websites/immae/history/_includes/post.html')
-rw-r--r--modules/private/websites/immae/history/_includes/post.html29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/private/websites/immae/history/_includes/post.html b/modules/private/websites/immae/history/_includes/post.html
deleted file mode 100644
index c6177ab..0000000
--- a/modules/private/websites/immae/history/_includes/post.html
+++ /dev/null
@@ -1,29 +0,0 @@
1<div class="row p-3">
2 <div class="col-md-3 mb-3">
3 <a href="{{ include.url | prepend: site.baseurl | replace: '//', '/' }}" class="post-date text-muted">
4 {{ include.date | date: '%F' }}
5 </a>
6 </div>
7 <div class="col-md-9">
8 <h2 class="title">
9 {{ include.title }}
10 </h2>
11 <div>
12 {% if include.category %}
13
14 {% for category in site.data.categories %}
15 {% if category.name == include.category %}
16 {% assign color = category.color | downcase | prepend: 'bg-' %}
17 {% endif %}
18 {% endfor %}
19 <span class="category {% if color %}{{ color }}{% endif %}">{{ include.category }}</span>
20 {% for tag in include.tags %}
21 <span class="category">{{ tag }}</span>
22 {% endfor %}
23 {% endif %}
24 </div>
25 <div class="post-content my-4 text-grey-darker leading-normal text-base font-thin">
26 {{ include.content }}
27 </div>
28 </div>
29 </div>