n8han/pamflet — pull request #54 by eed3si9n (2014-04-27 09:04:08+00:00)
Title: custom header and footer

Added a feature to customize fixed header and footer. The fixie header gives it a further book-like feel on a laptop browser, and it also allows pamflets to be integrated into an outer website. I updated [learning Scalaz](http://eed3si9n.com/learning-scalaz/index.html) to demo the default look.

Here's from the updated doc:

### Custom header and footer

To change the header to something else, set `layout.header` and `layout.header.height` property:

layout.header=header.md
layout.header.height=2em

Now drop a file named `header.md` into `docs/layout/`:

\$contents.title\$\$if(page.title)\$ —
\$page.title\$ \$endif\$ (draft)

This will add "(draft)" at the end of the default header. The footer works the same way. Just use `layout.footer` and `layout.footer.height` instead.