From 1f07b6076ae3e35177f481efdc9107b6d4d0611a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 24 Sep 2024 10:34:36 -0400 Subject: flat-pages: Set default directory, template, and prefix args. --- doc/haunt.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/haunt.texi b/doc/haunt.texi index 8df937a..acc7257 100644 --- a/doc/haunt.texi +++ b/doc/haunt.texi @@ -884,7 +884,9 @@ in some markup language to full web pages. Flat pages work great for the more informational parts of a website that don't require any fancy programming to generate, like an ``About me'' page. -@deffn {Procedure} flat-pages directory [#:template] [#:prefix] +@deffn {Procedure} flat-pages [directory "pages"] @@ + [#:template ugly-page-template] @@ + [#:prefix "/"] Return a procedure that parses the files in @var{directory} and returns a list of HTML pages, one for each file. The files are parsed -- cgit v1.2.3