Templates, which are a big part of the o-blog export process, are
HTML-based files. Within templates, Lisp code can be interpreted as
long as <lisp> tags surrounds the code.
<h1><lisp>(ob:blog-title BLOG)</lisp></h1>
The above would be exported to something like:
<h1>o-blog</h1>
Information
o-blog only needs blog_ prefixed templates, as long as they do not need any
other templates (using ob:insert-template function).
All other templates are defined for convenience.
Required templates
blog_ prefixed templates.
blog_static.html: Exports any static page (functionob-write-static).blog_post.html: Exports a blog post (functionob-write-posts).blog_tags.html: Exports a tag cloud page (functionob-write-tags).blog_tags-detail.html: Exports page matching a specific tag (functionob-write-tags).blog_archive.html: Exports the whole archives (all categories, all years, all months) page (functionob-write-index).blog_rss.html: Exports the rss feed (functionob-write-index).blog_index_month.htmlExport index page for a given month (functionob-write-index).blog_index_year.htmlExport index page for a given year (functionob-write-index).blog_index_catery.htmlExport index page for a given category (functionob-write-index).
Index-page templates
index_ prefixed templates. They are used by all blog_index_*.html
templates to generate a list of articles matching given category, year and
month, and the entire archives.
index_archives.htmlindex_category.htmlindex_month.htmlindex_year.html
Navigation templates
nav_ prefixed templates are used to generate navigation snippets:
nav_links.html: Used to generate navigation menu used in both the page header and footer.nav_tag-cloud.html: Used to generate tag cloud on page bottom.
Page templates
page_ prefixed templates used for both HTML header and footer.