From 7ec407b8a30fa825e7b36ff4685740c30a5d6faa Mon Sep 17 00:00:00 2001 From: Edd Salkield Date: Mon, 31 Oct 2022 16:33:31 +0000 Subject: [PATCH] docs: Clarify optional template block behaviour --- docs/kiln.1.scd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/kiln.1.scd b/docs/kiln.1.scd index 4c5dca9..f69fab2 100644 --- a/docs/kiln.1.scd +++ b/docs/kiln.1.scd @@ -213,8 +213,8 @@ See *TEMPLATE FUNCTIONS* for more information. ## BASE TEMPLATES Base templates are inherited only by page and index templates. Base templates -generally define at least one block which can be customized by page and index -templates, according to the Go templating language. +generally define at least one block which can optionally be customized by page +and index templates, according to the Go templating language. For example, the base template could contain: @@ -225,7 +225,8 @@ For example, the base template could contain: {{ block "extra_content" . }}{{ end }} ``` -The page and index templates can then customize these blocks, for example: +The page and index templates can then optionally customize these blocks, for +example: ``` {{ define "body" }}