branches: master
Clone
clone: git://shithub.us/9p.zone/web gits://shithub.us/9p.zone/web
push: hjgit://shithub.us/9p.zone/web
patches to: [email protected]
Last commit
About
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.