#extends skeleton
#def title
+#if len($subjects) == 1
+Help on $subjects[0]
+#else
Help
+#end if
#end def
#def body
#if not $simple
<h1>Help</h1>
+<p>Topics:
+#for $key in sorted($mapping)
+<a href="help?subject=$key">$key</a>
+#end for
+</p>
#end if
#for $subject in $subjects
+#if $subject in $mapping
+#if not $simple
+<h2>$subject</h2>
+#end if
<p>$mapping[$subject]</p>
+#else
+<p>Unknown subject '$subject'.</p>
+#end if
#end for
+#if $simple
+<a href="javascript:window.close();">Close</a>
+#end if
#end def