mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
content: Fix type
This commit is contained in:
@@ -60,9 +60,7 @@ The purpose of each template type is described below.
|
||||
|
||||
A _base_ template serves as a foundational layout that other templates can build upon. It typically defines the common structural components of your HTML, such as the `html`, `head`, and `body` elements. It also often includes recurring features like headers, footers, navigation, and script inclusions that appear across multiple pages of your site. By defining these common aspects once in a _base_ template, you avoid redundancy, ensure consistency, and simplify the maintenance of your website.
|
||||
|
||||
Hugo can apply a _base_ template to the following template types: [home](#home), [page](#page), [section](#section), [taxonomy](#taxonomy), [term](#term), [single](#single), [list](#list), and [all](#all).
|
||||
|
||||
When Hugo parses any of these template types, it will apply a _base_ template only if the template being parsed meets these specific conditions:
|
||||
Hugo can apply a _base_ template to the following template types: [home](#home), [page](#page), [section](#section), [taxonomy](#taxonomy), [term](#term), [single](#single), [list](#list), and [all](#all). When Hugo parses any of these template types, it will apply a _base_ template only if the template being parsed meets these specific conditions:
|
||||
|
||||
- It must include at least one [`define`] [action](g).
|
||||
- It can only contain `define` actions, whitespace, and [template comments]. No other content is allowed.
|
||||
|
||||
Reference in New Issue
Block a user