about summary refs log tree commit diff stats
path: root/layouts/_default/list.html
blob: 9bbcb383657efde586d01b939b0c30922d9e6f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ partial "head.html" . }}
  <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}" itemscope itemtype="http://schema.org/Blog"> 
		<main class="content container" role="main">
			<h1 class="page-title">{{ .Title }}</h1>
			<ul class="posts">
				{{ 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>
		</main>
{{ partial "sidebar.html" . }}
	</body>
</html>