--- title: "Homepage Templates" date: "2013-07-01" --- Home pages are of the type "node" and have all the [node variables](/layout/variables/) available to use in the templates. *This is the only required template for building a site and useful when bootstrapping a new site and template.* In addition to the standard node variables, the homepage has access to all site content accessible from .Data.Pages ▾ layouts/ index.html ## example index.html This content template is used for [spf13.com](http://spf13.com). It makes use of [chrome templates](/layout/chrome) {{ template "chrome/meta.html" . }} {{ .Site.Title }} {{ template "chrome/head_includes.html" . }} {{ template "chrome/subheader.html" . }}
{{ range .Data.Pages }} {{ .Render "summary"}} {{ end }}
{{ template "chrome/footer.html" }}