blob: 88d367f5293bba627f564e3b14d98f192b7d1913 (
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
|
{{ template "theme/partials/head.html" . }}
<body class="theme-base-0b layout-reverse">
<main class="content container" role="main" itemscope itemtype="http://schema.org/Blog">
<section class="categories">
<h2>Categories</h2>
<ul>
{{ range $key, $value := .Site.Indexes.categories }}
<li>
<a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a>
</li>
{{ end }}
</ul>
</section>
<section class="recent">
<h2>Recent Posts</h2>
<ul>
{{ range .Data.Pages }}
<li itemscope itemtype="http://schema.org/BlogPosting">
<a class="post-title" itemprop="url" href="{{ .RelPermalink }}"><span itemprop="name">{{ .Title }}<span></a>
<time class="post-date" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
</li>
{{ end }}
</ul>
</section>
</main>
{{ template "theme/partials/sidebar.html" . }}
</body>
</html>
|