From 00397d0a5707c85e6054a4d64b0520f1e1f96e93 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 31 Oct 2024 14:01:53 -0400 Subject: flat-pages: Pass page metadata to template procedure. This is a backwards incompatible change. --- doc/haunt.texi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'doc/haunt.texi') 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 -- cgit v1.2.3