about summary refs log tree commit diff
path: root/layouts/index.html
blob: c1da783dbb71e2b5e33105e2c878fa7b1ff2b245 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ define "main" }}
    <div class="homepage-content">
        {{ .Content }}
    </div>
    {{ with .Site.GetPage "section" "posts" }}
    {{ range first 1 .Pages }}
    <article class="embedded">
        <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
        {{ .Content | truncate 1000 }}
    </article>
    {{ end }}
    {{ end }}

{{ end }}