no layouts, just footers

This commit is contained in:
Tom Preston-Werner
2010-03-30 09:42:03 -07:00
parent fb13144809
commit 715758f7ac
+7 -18
View File
@@ -16,8 +16,8 @@ you choose to edit them by hand.
A Gollum repository's contents are designed to be human editable. Page content
is written in `page files` and may be organized into directories any way you
choose. Layouts can be created in `layout files`. Other content (images, PDFs,
etc) may also be present and organized in the same way.
choose. Special footers can be created in `footer files`. Other content
(images, PDFs, etc) may also be present and organized in the same way.
## PAGE FILES
@@ -38,23 +38,12 @@ formats) will be used as the entrance page to your wiki. If it is missing, an
automatically generated table of contents will be shown instead.
## LAYOUT FILES
## FOOTER FILES
Layout files allow you to wrap page content with a header, footer, sidebar,
etc. Layout files must be named `_layout.ext` where the extension is one of
the supported formats. Layouts affect all pages in their directory and any
subdirectories that do not have layout files of their own.
Inside your layout file, you must use the following content link to specify
where the page content should reside:
[[[content]]]
Here's a simple example:
<div id="header">...</div>
<div id="content">[[[content]]]</div>
<div id="footer">...</div>
Footer files allow you to add a simple footer to your wiki. Footer files must
be named `_footer.ext` where the extension is one of the supported formats.
Footers affect all pages in their directory and any subdirectories that do not
have footer files of their own.
## HTML SANITIZATION