| Revert the <ul> fix which was not really correct, and fix another missing </li>… | |
| git clone git://git.suckless.org/swerc | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 45b6298d45804b12410f738594cf56179dacceb1 | |
| parent 96d4cff57982667c57684ca9112dd2e112f3d9ad | |
| Author: uriel@soma <unknown> | |
| Date: Tue, 3 Mar 2009 22:04:17 +0000 | |
| Revert the <ul> fix which was not really correct, and fix another missing </li>. | |
| Diffstat: | |
| M bin/corehandlers.rc | 5 ++--- | |
| 1 file changed, 2 insertions(+), 3 deletions(-) | |
| --- | |
| diff --git a/bin/corehandlers.rc b/bin/corehandlers.rc | |
| @@ -9,7 +9,6 @@ fn nav_tree { | |
| | sed $dirfilter'/\/[^_.\/][^\/]*(\.(md|txt|html)|\/)$/!d; s!^'$sitedi… | |
| | sort -u | awk -F/ ' | |
| function p(x, y, s) { for(i=0; i < x-y; i+=1) print s } | |
| - BEGIN { lNF=1 } | |
| { | |
| d = "" | |
| if(match($0, "/$")) | |
| @@ -25,11 +24,11 @@ fn nav_tree { | |
| gsub("_", " ", bname) | |
| if(index(ENVIRON["req_path"] "/", path) == 1) | |
| - print "<li><a href=\"" path "\" class=\"thisPage\">»<i> " bn… | |
| + print "<li><a href=\"" path "\" class=\"thisPage\">»<i> " bn… | |
| else | |
| print "<li><a href=\"" path "\">› " bname "</a></li>" | |
| } | |
| - END { p(lNF, 1, "</ul>") }' | |
| + END { p(lNF, 0, "</ul>") }' | |
| } | |
| fn link_bar { |