fn breadcrumbhtml{ echo 'home' trail=() while(! ~ $#* 0){ bit=$1 if(~ $#* 1){ if(! ~ $bit index){ echo » #echo ''^$bit^'' echo $bit } } if not{ echo » echo ''^$bit^'' } trail=$"trail^/^$bit shift } } fn sources{ ls $pagepath^.^(md rc) >[2]/dev/null | while(s=`{read}){ ext=`{echo $s | sed 's/.*\.//'} if(! ~ $ext html) echo ''^$ext^'' } } echo -n ' ' echo -n $"title echo ' ' if(~ $pagepath index) echo ' ' echo ' ' if(~ $pagepath index) echo 'Fork me on ShitHub' echo '

' #if(! ~ $#breadcrumb 1 || ! ~ $breadcrumb index) breadcrumbhtml $breadcrumb echo -n '' sources echo '| changelog sitemap' echo -n '' echo '


' $proc $"source echo -n '
'