-
Notifications
You must be signed in to change notification settings - Fork 0
/
posts.html
47 lines (43 loc) · 1.18 KB
/
posts.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
---
layout: default
title: "Blog"
---
<div class="home">
<h1 class="page-heading">Subcommittee Name</h1>
<!-- <ul class="post-list"> -->
{% for post in site.posts %}
<header class="post-header">
<h1 class="post-title"><a href='{{site.baseurl}}{{post.url}}'>{{ post.title }}</a></h1>
</header>
<article class="post-content">
<h3>Date: {{ post.date | date: "%b %-d, %Y" }}</h3>
<h3>Background: </h3>
<p>{{ post.background }}</p>
{% if post.maps %}
<h3>Maps: </h3>
{% for map in post.maps %}
<h3>{{map.title}}</h3>
<a href="{{map.map-url}}"><img src="{{map.image-url}}"></a>
{% endfor %}
{% endif %}
{% if post.documents %}
<h3>Documents: </h3>
<ul>
{% for doc in post.documents %}
<li>
<a href="{{doc.doc-url}}">{{doc.title}}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</article>
<hr>
<!-- <li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li> -->
{% endfor %}
<!-- </ul> -->
</div>