diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..c1da783 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,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 }} |