Three Demo Theme

Three page types, flexible

Three, small, flexible

Theme Demo for mkpage project

The purpose of this theme is not to illustrate web design but to show how you might approach building a mkpage based website with only three page types. The theme itself is driven by three Go templates, CSS, an embeddable SVG image asset and some markdown content. Site navigation, like page content, is built using Markdown. Site navigation is defined in nav.md and results in a simple one level UL element embedded inside the NAV element of the templated pages.

This theme supports three page types.

  1. index.tmpl for landing pages
  2. page.tmpl for general purpose pages like about and contact pages
  3. article.tmpl for articles and blog posts

Navigation is controlled through a nav.md file included into each template (i.e. files ending in .tmpl).

The following template variables (replaceable content) are used in the page templates.

Three, small, flexible