1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-05-08 05:26:00 +02:00

Start using Go 1.6's blocks

Partials are nice, but blocks are a better base construct. Right
now there is basically only layouts/_default/baseof.html that is
doing most of the work.

See: https://gohugo.io/templates/blocks
This commit is contained in:
2016-09-01 17:37:27 +03:00
parent 3042101003
commit 412cc18cf9
12 changed files with 76 additions and 92 deletions

View File

@ -0,0 +1,7 @@
{{ define "main" }}
{{ range .Data.Pages }}
{{ .Render "summary"}}
{{ end }}
{{ end }}