shithub: werc

Download patch

ref: 7780831fd34d55aff389d94f2ed53b576076c7fd
parent: 6b2ac6bf57e63e742ab8e2573c6f8b7d8e4176b7
author: Uriel <u@berlinblue.org>
date: Fri Jun 11 00:28:39 EDT 2010

More documentation work.

--- a/sites/werc.cat-v.org/docs/rc-template-lang.md
+++ b/sites/werc.cat-v.org/docs/rc-template-lang.md
@@ -13,7 +13,7 @@
 
 For further documentation on rc see:
 
-* [The rc(1) man page for Plan 9](http://man.cat-v.org/plan_9/1/rc).
+* [The rc(1) man page from Plan 9](http://man.cat-v.org/plan_9/1/rc).
 * [The rc shell paper by Tom Duff](http://rc.cat-v.org).
 
 
@@ -27,16 +27,26 @@
     %   echo '<li>'$i'</li>'
     % }
     </uL>
- 
-Is equivalent to: 
 
+Can also be writen as:
+
     <ul>
+    %{
+    for(i in a b c) {
+       echo '<li>'$i'</li>'
+    }
+    %}
+    </uL>
+
+and is equivalent to: 
+
+    <ul>
     % for(i in a b c) {
     <li>%($i%)</li>
     % }
     </uL>
 
-and results in this output:
+All three code examples result in this output:
 
     <ul>
     <li>a</li>
--- a/sites/werc.cat-v.org/index.md
+++ b/sites/werc.cat-v.org/index.md
@@ -1,7 +1,7 @@
 werc - A sane web anti-framework
 ================================
 
-Werc is a minimalist web anti-framework built following the Unix and Plan 9
+Werc is a minimalist web anti-framework built following the [Unix](http://doc.cat-v.org/unix/) and [Plan 9](http://plan9.cat-v.org)
 *tool philosophy* of software design.
 
 Werc avoids the pain of managing collections of websites and developing web