shithub: web

ref: 64efef6cf6796a436beb6e5640e859b8fecda48d
dir: /README/

View raw version
9P.ZONE WEB PAGE

This repository holds the web page for 9p.zone, available at:

	http://9p.zone/

Ideally via https.


ADDING NEW PAGES

Add files to the repository:

	pagename.ht
	pagename.sed

You can define global placeholders in the .sed file and use them
in the fragments (frag/*.ht). Newly added pages will be automatically
collected by mk.


CHANGING PAGE LAYOUT

See frag/*.ht files. For page performance I included CSS.


USAGE

Build the pages:

	mk  # or: mk -a

Put in /lib/namespace.httpd:

	bind /path/to/web/public /usr/web
	bind -a /path/to/web/root /usr/web

Make sure the directories are public readable!

The directory `root` is meant as an overlay directory for static
resources like images. You can create the directories if you
need to:

	mkdir -p root/img
	bind -a root public  # public must exist!