light-hugo/layouts/index.html

10 lines
214 B
HTML
Raw Permalink Normal View History

2016-11-02 23:10:49 -04:00
{{ partial "header.html" . }}
{{ $pages := .Pages }}
{{ if .IsHome }}
{{ $pages = .Site.RegularPages }}
{{ end }}
{{ range first 10 $pages }}
{{ .Render "summary" }}
2016-11-02 23:10:49 -04:00
{{ end }}
{{ partial "footer.html" . }}