shithub: web

ref: 527dde60c531d7b95fd5a746e78635b68eb27525
dir: web/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!

The lib/ directory has an example namespace.httpd that can be copied to /lib/namespace.httpd.