summaryrefslogtreecommitdiff
path: root/doc/haunt.texi
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-10-31 14:01:53 -0400
committerDavid Thompson <dthompson2@worcester.edu>2024-10-31 14:05:13 -0400
commit00397d0a5707c85e6054a4d64b0520f1e1f96e93 (patch)
tree852751bc03eeba53fb8bffd1d858b92b7834e875 /doc/haunt.texi
parent2b8268683ad2406b38500cde18210100df67b745 (diff)
flat-pages: Pass page metadata to template procedure.HEADmaster
This is a backwards incompatible change.
Diffstat (limited to 'doc/haunt.texi')
-rw-r--r--doc/haunt.texi6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/haunt.texi b/doc/haunt.texi
index 0ac016f..2d82c8d 100644
--- a/doc/haunt.texi
+++ b/doc/haunt.texi
@@ -934,17 +934,13 @@ arguments:
@itemize
@item the site object
-@item the page title string (from the metadata header)
+@item the page metadata association list
@item an SXML tree of the page body
@end itemize
@var{template} should return a single value: a new SXML tree
representing a complete HTML page that presumably wraps the page body.
-Conveniently, the signature of @var{template} matches the blog theme
-layout procedure so that it can be reused for flat pages. @xref{Blog}
-for more information.
-
The structure of @var{directory} is preserved in the resulting pages
and may be optionally nested within the directory @var{prefix}. If no
prefix is specified, the files are placed starting at the root of the