summaryrefslogtreecommitdiffstats
path: root/_build/themes/ninenines/layouts/indexes/articles.html
blob: ce8f9b4c275fbd2ef56d896534f4c74e060ddf8b (plain) (blame)
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
{{ partial "header.html" . }}
</header>

<div id="contents" class="two_col">
<div class="container">
<div class="row">
<div class="span9 maincol">

<h1 class="lined-header"><span>Articles</span></h1>

{{ range (.Paginate (where .Data.Pages "Type" "articles")).Pages }}
	<article class="blog_item">
		<header>
			<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
			<p class="date">
				<span class="day">{{ .Date.Format "02" }}</span>
				<span class="month">{{ .Date.Format "Jan" }}</span>
			</p>
		</header>

		<p>{{ .Summary }}</p>

		<p style="text-align:right">
			<a class="read_more" href="{{ .Permalink }}">Read More</a>
		</p>
	</article>
{{ end }}

{{ partial "pagination.html" . }}

</div>
</div>
</div>
</div>

{{ partial "footer.html" . }}