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:
@ -0,0 +1,7 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ range .Data.Pages }}
|
||||
{{ .Render "summary"}}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user