We can create a single-page web site from wiki (a Splash Page) by combining an HTML Wiki Template with structured information from wiki. Here we explore the basics of how we might do this.
# Template Markup
The aim here is to provide a simple and flexible way to markup any HTML file in order to create a template.
I've chosen the following techniques: - HTML Comment Markup - HTML Substitution Markup
# Splash Page Hosting
We can provide an HTML template inside the following site specific folder (see Custom CSS):
.wiki/status/theme/
Placing a file such as "test.png" in this folder will serve it up to HTTP GET requests with a domain such as:
http://example.com/theme/test.png
So taking an example html file which you want to serve using a locally run wiki - you could place a file here:
.wiki/status/theme/index.htm
So that it would be served at the following url:
http://localhost:3000/theme/index.htm
# See also - Splash Markup - Redirecting Welcome Visitors - Splash Page Creation - How I Shrunk Wiki