blob: dc42fda8274f6878e2d16a0cc80a4523e9c7fdc4 (
plain)
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
|
{{ partial "header.html" . }}
<div id="layout" class="pure-g">
{{ partial "sidebar.html" . }}
<div class="content pure-u-1 pure-u-md-3-4">
<div>
<!-- A wrapper for all the blog posts -->
<div class="posts">
{{ range .Paginator.Pages }}
<h1 class="content-subhead">{{ .Date.Format "02 Jan 2006, 15:04" }}</h1>
<section class="post">
<header class="post-header">
<a href="{{ .Permalink }}" class="post-title">{{ .Title }}</a>
<p class="post-meta">
{{ with .Params.author }}
By <strong class="post-author">{{ . }}</strong>
{{ end }}
{{ if isset .Params "categories" }}
under
{{ $baseUrl := .Site.BaseUrl }}
{{ range .Params.categories }}<a class="post-category post-category-{{ . }}" href="{{ $baseUrl }}/categories/{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}
</p>
</header>
<div class="post-description">
{{ .Content }}
</div>
</section>
{{ end }}
</div>
{{ partial "pagination.html" . }}
{{ partial "footer.html" . }}
</div>
</div>
</div>
{{ partial "analytics.html" . }}
</body>
</html>
|