Skip to content

Commit

Permalink
Output config as <dl>
Browse files Browse the repository at this point in the history
  • Loading branch information
pneff committed Jun 23, 2008
1 parent b544f5b commit c6327e0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions templates/html/index.html.tmpl
Expand Up @@ -73,10 +73,12 @@
%if len(config) > 0:
<h2>Configuration</h2>
<p>These variables can be changed using the external config file.</p>
% for key, value in config.items():
<h3><em class="type">${value['type'] | h}</em> ${key | h}</h3>
${docTable(value['docs'])}
% endfor
<dl class="config">
% for key, value in config.items():
<dt><em class="type">${value['type'] | h}</em> ${key | h}</dt>
<dd>${docTable(value['docs'])}</dd>
% endfor
</dl>
<hr />
%endif

Expand Down

0 comments on commit c6327e0

Please sign in to comment.