diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-12 18:32:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-12 18:32:47 +0000 |
commit | dc4bfc16fa380a3b20f7c13d22ac797e7c540c3a (patch) | |
tree | a029fbda5aa1738fde29ed7262c1adda91b10f73 /cgi.h.example | |
parent | aae3ab3e68edab90a23978db94cca91886c1a1f6 (diff) | |
download | mandoc-dc4bfc16fa380a3b20f7c13d22ac797e7c540c3a.tar.gz |
No need for run-time configuration, add minimal compile-time
configuration facilities, just two paths and two HTML strings.
Show the title on all pages, not just the index page.
Diffstat (limited to 'cgi.h.example')
-rw-r--r-- | cgi.h.example | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi.h.example b/cgi.h.example new file mode 100644 index 00000000..95508def --- /dev/null +++ b/cgi.h.example @@ -0,0 +1,7 @@ +/* Example compile-time configuration file for man.cgi(8). */ + +#define MAN_DIR "/var/www/man" +#define CSS_DIR "" +#define CUSTOMIZE_TITLE "Manual pages with mandoc" +#define CUSTOMIZE_BEGIN "<H2>\nManual pages with " \ + "<A HREF=\"http://mdocml.bsd.lv/\">mandoc</A>\n</H2>" |