2017-04-11 03:27:13 +02:00
|
|
|
{{ define "main" }}
|
2017-04-11 15:13:12 +02:00
|
|
|
|
2017-04-11 14:53:11 +02:00
|
|
|
<main class="cf ph3 ph5-l pv3 pv4-l f4 tc center measure-wide lh-copy mid-gray">
|
2017-04-11 03:27:13 +02:00
|
|
|
{{ .Content }}
|
|
|
|
</main>
|
2017-04-14 05:01:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
<div class="flex pa3 pa4-ns w-70 center">
|
2017-04-11 15:13:12 +02:00
|
|
|
{{ $section := where .Data.Pages "Section" "article" }}
|
|
|
|
|
2017-04-14 05:01:23 +02:00
|
|
|
<section class="w-60 bg-white">
|
2017-04-11 15:13:12 +02:00
|
|
|
{{ range sort (first 1 $section) "Date" "desc" }}
|
2017-04-14 05:01:23 +02:00
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ end }}
|
2017-04-11 15:13:12 +02:00
|
|
|
</section>
|
|
|
|
|
2017-04-14 05:01:23 +02:00
|
|
|
<section class="w-30 ph4">
|
2017-04-11 15:13:12 +02:00
|
|
|
{{ range sort (first 2 (after 1 $section)) "Date" "desc" }}
|
2017-04-14 05:01:23 +02:00
|
|
|
<h2 class="f4">{{ .Title }}</h2>
|
2017-04-11 15:13:12 +02:00
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
2017-04-11 14:53:11 +02:00
|
|
|
</div>
|
2017-04-14 05:01:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-11 03:27:13 +02:00
|
|
|
{{ end }}
|