content: Fix type

This commit is contained in:
Joe Mooring
2025-07-12 05:53:16 -07:00
committed by GitHub
parent e955652ae2
commit 25cca30fd2
+1 -3
View File
@@ -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.