hackertours-theme/layouts/_default/list.html
Fredrik Jonsson b7977e1c28 First commit.
2017-03-09 14:29:29 +01:00

20 lines
472 B
HTML

{{ define "title" }}{{ if not .IsHome }}{{ .Title }} - {{ .Site.Title }}{{ end }}{{ end }}
{{ define "main" }}
<main class="layout-3col__left-content" role="main">
{{ range .Data.Pages }}
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} list-view">
<header>
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a><h2>
</header>
<div>
{{ .Summary }}
</div>
</article>
{{ end }}
</main>
{{ partial "menu.html" . }}
{{ partial "sidebar.html" . }}
{{ end }}