From 4562d084410bc4b2c64b21530dd71ef35999d3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 8 Jul 2018 19:14:13 +0200 Subject: Content div into templates --- layouts/index.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html index 17c1d26..b4eaea0 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,11 +1,13 @@ {{ define "main" }} +
-

{{.Title}}

+

{{.Title}}

-

Posts

- +

Posts

+ - {{ range where .Data.Pages "Section" "post" }} - {{ .Render "summary" }} - {{ end }} + {{ range where .Data.Pages "Section" "post" }} + {{ .Render "summary" }} + {{ end }} +
{{ end }} -- cgit v1.2.3