hackertours-theme/layouts/_default/list.html
2017-03-21 00:18:05 +01:00

24 lines
539 B
HTML

{{ define "title" }}{{ if not .IsHome }}{{ .Title }} - {{ .Site.Title }}{{ end }}{{ end }}
{{ define "meta" }}
{{ partial "section_meta.html" . }}
{{ 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 }}