list.html 955 Bytes
Newer Older
1
{{ define "main" }}
2
<main id="content">
3
4
5
6

	{{ .Content }}

	{{ $section := where .Data.Pages "Section" .Section }}
Laura Kalbag's avatar
Laura Kalbag committed
7
	<ul class='posts-list'>
8
9
10
		{{ range $section }}
			<li>
				<h2 class='p-name'>
11
					{{ .Title }}
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
				</h2>
				<div class='entry-meta'><p>Posted: <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
					{{ .Date.Format "2" | humanize }} {{ .Date.Format "January, 2006" }}
					</time> {{ with .Params.author }}by {{ . }} {{end}}on <a href='{{ .Params.SourceURL }}'>{{ .Params.SourceName }}</a></p></div>
				<blockquote class='summary'>
					<p>
					“{{ .Summary }}”
					</p>
				</blockquote>
				<div class='entry-notes'>
					<p><a href='{{ .Params.postURL }}'>Read ‘{{ .Title }}’ on {{ .Params.SourceName }}</a>.</p>
				</div>
			</li>
		{{ end }}
	</ul>
	<p class="after-list">For older news items, <a href="https://2017.ind.ie/blog/">see our archive.</a></p>

29
	{{ partial "fund-us.html" . }}
30
</main>
31
{{ end }}