diff options
Diffstat (limited to 'docs/content/en/templates/homepage.md')
-rw-r--r-- | docs/content/en/templates/homepage.md | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/docs/content/en/templates/homepage.md b/docs/content/en/templates/homepage.md index 59b7472fb..cd5b32604 100644 --- a/docs/content/en/templates/homepage.md +++ b/docs/content/en/templates/homepage.md @@ -12,11 +12,8 @@ toc: true aliases: [/layout/homepage/,/templates/homepage-template/] --- -Homepage is a `Page` and therefore has all the [page variables][pagevars] and [site variables][sitevars] available for use. - -{{% note %}} The homepage template is the *only* required template for building a site and therefore useful when bootstrapping a new site and template. It is also the only required template if you are developing a single-page website. -{{% /note %}} + {{< youtube ut1xtRZ1QOA >}} @@ -32,8 +29,6 @@ See the homepage template below or [Content Organization][contentorg] for more i ## Example homepage template -The following is an example of a homepage template that uses [partial][partials], [base] templates, and a content file at `content/_index.md` to populate the `{{ .Title }}` and `{{ .Content }}` [page variables][pagevars]. - {{< code file=layouts/index.html >}} {{ define "main" }} <main aria-role="main"> @@ -56,10 +51,6 @@ The following is an example of a homepage template that uses [partial][partials] {{ end }} {{< /code >}} -[base]: /templates/base/ [contentorg]: /content-management/organization/ [lists]: /templates/lists/ [lookup]: /templates/lookup-order/ -[pagevars]: /variables/page/ -[partials]: /templates/partials/ -[sitevars]: /variables/site/ |