The usefullness and popularity of a software a tool greatly depends its “stdlib” that serves to provide at least basic example solutions to common problems.
Examples would be blogs, news, comments, sitemaps, user registration, email contact form, forum discussions, openstreetmaps, ...
Ship this lib with zena, presenting it in its default site that should also contain the documentation, zafu reference, and the tutorials, to show how to use zena and easily include template parts from the library into your own site content.
There are many zafu examples spread around in tutorials, blog articles or the zafu reference. They should all be linked and documented from here.
How to Use Template Parts …
... in zazen (from within your articles)
... in zafu (from within your templates)
Available Template Parts …
... that work with just the default classes
Including .html documents
Uploaded html files will become “TextDocument” nodes.
If you are sure you want to serve all html TextDocuments directly, without any further zafu rendering, you may create the following “TextDocument” template:
<r:Template?> <r:include template='Node'/> <r:else> <r:if test='ext == "html"'> <r:show attr='text' h='false'/> <r:else> <r:include template='Node'/> </r:else> </r:if> </r:else> </r:Template?>