-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnews.html
More file actions
37 lines (28 loc) · 1.19 KB
/
news.html
File metadata and controls
37 lines (28 loc) · 1.19 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
33
34
35
36
37
---
title: Home
---
{% include head.html %}
<body class="bg-light min-vh-100">
{% include nav.html %}
<div class="bg-light container min-vh-100">
<div class="px-4 py-5 my-5 text-center align-items-center">
<h2 class="pb-3 text-center">News</h2>
{% for post in site.posts%}
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card m-2 post-preview text-start">
<div class="card-body">
<a href="{{ post.url | relative_url }}"><h4 class="card-title">{{post.title}}</h4></a>
<h6 class="card-subtitle mb-2 text-body-secondary">{{ post.date | date: "%-d %B %Y" }}</h6>
<p class="card-text">{{post.excerpt}}</p>
<!-- <div class="d-flex justify-content-center"><a href="{{ post.url | relative_url }}"
class="btn btn-primary">Read More</a></div> -->
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% include footer.html %}
</body>