-
Notifications
You must be signed in to change notification settings - Fork 0
/
statements.html
49 lines (46 loc) · 1.29 KB
/
statements.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: Statements
desc: Official statements from Melonian government members.
description: Official statements from Melonian government members.
keywords: statements, official statement
layout: default
permalink: /statements/
---
<h2 class="mb-4 mt-4 text-center">Newest statements</h2>
{% for post in site.posts limit:5 %}
<div class="homepage-card">
<div class="card mb-3 clearfix">
<div class="card-body">
<div class="float-left">
{% if post.badge-text %}
<h4 class="card-title"><span class="badge badge-danger">{{ post.badge-text }}</span> {{ post.title }}</h4>
{% else %}
<h4 class="card-title">{{ post.title }}</h4>
{% endif %}
{% if post.via %}
<p class="card-text">
{{ post.desc }}<br>
<span class="text-muted">Posted on {{ post.date | date: '%B %d, %Y' }} on {{ post.via }}</span>
</p>
{% else %}
<p class="card-text">
{{ post.desc }}<br>
<span class="text-muted">Posted on {{ post.date | date: '%B %d, %Y' }}</span>
</p>
{% endif %}
</div>
{% if post.via %}
<a href="{{ post.via-link }}" class="btn btn-primary mt-2">Read more at {{ post.via }}</a>
{% else %}
<a href="{{ post.url }}" class="btn btn-primary mt-2">Read more</a>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
<style>
.text-center a {
text-decoration: none;
}
</style>