shithub: werc

Download patch

ref: e5a84b2eaed7326db5ac7f673569fc8c70b6d16a
parent: 2cd78078fbd0c0c3db3b64d03fb2442971513708
parent: addf23c653c14e27d1dc4c57c23d4ad6c322f390
author: uriel <[email protected]>
date: Thu Jan 22 04:24:10 EST 2009

Merge in werc.cat-v.org updates and css changes.

--- a/README
+++ b/README
@@ -4,7 +4,7 @@
 Werc is a CMS designed to be simple to use, simple to setup, and not get on the
 way while allowing users easy customization and implement new functionality.
 
-For more information see the official website: http://repo.cat-v.org/werc/
+For more information see the official website: http://werc.cat-v.org/
 
 
 Installation
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -79,6 +79,7 @@
 
 fn dir_listing_handler {
     d=`{basename -d $1}
+    # XXX $d is based on $local_path, but should display only req_path here.
     echo $d|sed 's,.*//,,g; s,/$,,; s,/, / ,g; s,.*,<h1 class="dir-list-head">&</h1> <ul class="dir-list">,'
     # Symlinks suck: '/.' forces ls to list the linked dir if $d is a symlink.
     ls -F $dir_listing_ls_opts $d/. | sed $dirfilter$dirclean' s,.*/([^/]+/?)$,<li><a href="\1">\1</a></li>,'
--- a/lib/footer.inc
+++ b/lib/footer.inc
@@ -1,4 +1,4 @@
-<div class="left"><a href="http://repo.cat-v.org/werc/">Powered by werc</a></div>
+<div class="left"><a href="http://werc.cat-v.org/">Powered by werc</a></div>
 <!-- TODO Maybe should add a programatically generated google search box -->
 <div class="right"><a href="/_users/login">User Login</div>
 
--- a/pub/style/style.css
+++ b/pub/style/style.css
@@ -4,16 +4,12 @@
   color: black;
   background-color: white;
   font-family: verdana, helvetica, arial, sans-serif;
-  font-size: 71%;  /* Enables font size scaling in MSIE */
+  font-size: 88%;  /* Enables font size scaling in MSIE */
   margin: 0;
   padding: 0;
 }
 
-html > body {
-  font-size: 0.7em;
-}
 
-
 /* # Header # */
 .superHeader {
   color: white;
@@ -56,7 +52,7 @@
 
 .headerTitle {
   color: black;
-  font-size: 337%;
+  font-size: 256%;
   font-weight: normal;
   margin: 0 0 0 4mm;
   padding: 0.25ex 0;
@@ -132,7 +128,7 @@
   padding: 0.1ex 0;  /* Circumvents a rendering bug (?) in MSIE 6.0 */
 }
 
-#side-bar a, .thisPage {
+#side-bar a {
   color: rgb(0,102,204);
   background-color: transparent;
   text-decoration: none;
@@ -140,7 +136,8 @@
   padding: 0.35em 1ex 0.35em 2mm;
   display: block;
   text-transform: capitalize;
-  font-weight: bold;
+  font-weight: bold!important;
+  font-size: 104%;
 }
 
 .thisPage, .thisPage a {
@@ -147,12 +144,12 @@
   color: black!important;
   background-color: white;
   padding-left: 5mm;
-  font-weight: 600;
 }
 
 #side-bar a:hover {
   color: white;
   background-color: rgb(100,135,220);
+  border-left: black solid 0.2em;
   text-decoration: none;
 }
 
--- a/sites/werc.cat-v.org/_werc/config
+++ b/sites/werc.cat-v.org/_werc/config
@@ -1,3 +1,3 @@
 siteTitle='werc'
-siteSubTitle='Bringing minimalism and sanity to the web'
+siteSubTitle=' Bringing minimalism and sanity to the web'
 
--- a/sites/werc.cat-v.org/index.md
+++ b/sites/werc.cat-v.org/index.md
@@ -39,3 +39,46 @@
 
 Werc uses markdown by default (and the standard Perl markdown is included with the distribution), to format documents, but any other formatting
 system can be used.
+
+
+Development
+-----------
+To get a copy of the latest development code using mercurial, do:
+
+	hg clone http://gsoc.cat-v.org/hg/werc/
+
+You can also [browse the online repository](http://gsoc.cat-v.org/hg/werc/).
+
+Contact
+-------
+
+For questions, suggestions, bugrepports and contributing patches you can join the [werc9 mailinglist](http://groups.google.com/group/werc9).
+
+On irc, join #plan9 on irc.freenode.org
+
+
+Links
+-----
+
+* [werc project at freshmeat](http://freshmeat.net/projects/werc/) - You can get new release notifications there.
+
+
+License
+-------
+
+Public domain (by default includes markdown.pl which has a different license, but this can be replaced).
+
+Credits
+-------
+
+Thanks to Kris Maglione (aka JG) for implementing rss feeds, for writing the
+awk rc-templating system, and other help and inspiration (some parts of the
+code were based on JG's diri wiki).
+
+Thanks to Mechiel (aka oksel) for the md_cache script.
+
+Thanks Garbeam (aka arg) for writing the original diri code and showing that
+writing complex web apps in rc was feasible.
+
+And thanks to everyone else whom I have forgotten and that has provided fixes
+and feedback.