sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit dc30d313b70d157e3f99765ab410af0cda8d4e89
parent 883470a57820a3d7795a128fda9abb39f882f630
Author: anselm@garbe.us <unknown>
Date:   Wed,  8 Feb 2012 20:40:45 +0100

updated werc configs
Diffstat:
Ddefault.suckless.org/_werc/lib/footer.inc | 6------
Ddefault.suckless.org/_werc/lib/headers.inc | 0
Ddefault.suckless.org/_werc/lib/sitemap.tpl | 67-------------------------------------------------------------------
Mdwm.suckless.org/_werc/config | 2+-
Mlibs.suckless.org/_werc/config | 2+-
Mman.suckless.org/_werc/config | 2+-
Mst.suckless.org/_werc/config | 2+-
Msta.li/_werc/config | 2+-
Msuckless.org/_werc/config | 2+-
Msurf.suckless.org/_werc/config | 2+-
Mtools.suckless.org/_werc/config | 2+-
Mwmi.suckless.org/_werc/config | 2+-
12 files changed, 9 insertions(+), 82 deletions(-)

diff --git a/default.suckless.org/_werc/lib/footer.inc b/default.suckless.org/_werc/lib/footer.inc @@ -1,6 +0,0 @@ -<div class="left"> - <a href="http://werc.cat-v.org/">Powered by werc</a> -</div> -<div class="right"> - &copy; 2006-2011 suckless.org community -</div> diff --git a/default.suckless.org/_werc/lib/headers.inc b/default.suckless.org/_werc/lib/headers.inc diff --git a/default.suckless.org/_werc/lib/sitemap.tpl b/default.suckless.org/_werc/lib/sitemap.tpl @@ -1,67 +0,0 @@ -<h1>Site map</h1> - -%{ -tmpfile=/tmp/werc_sitemap_$pid.txt -tmpfilex=/tmp/werc_sitemapx_$pid.txt -saveddf=$dirfilter - -MON2NUM='s/Jan/01/; s/Feb/02/; s/Mar/03/; s/Apr/04/; s/May/05/; s/Jun/06/; s/Jul/07/; s/Aug/08/; s/Sep/09/; s/Oct/10/; s/Nov/11/; s/Dec/12/;' - -fn get_mdate { - t=`{mtime $1} - t=`{date $t(1) | sed -e $MON2NUM -e 's/ ([0-9]) / 0\1 /g'} # Make sure day of the month is two digits. - echo $t(6)^'-'^$t(2)^'-'^$t(3) -} - -fn listDir { - d=$1 - dirfilter=$saveddf - if(test -f $d/_werc/config) - . ./$d/_werc/config - - if(~ $#perm_redir_to 0) { - echo '<ul class="sitemap-list">' - - for(i in `{ls -dF $d^*/ $d^*.md $d^*.html $d^*.txt >[2]/dev/null | sed $dirfilter}) { - desc=`{get_file_title $i} - u=`{echo $i|sed 's!'$sitedir'!!; '$dirclean's!/index$!/!; '} - if(! ~ $#desc 0 && ! ~ $desc '') - desc=' - '$"desc - n=`{echo /$u|sed 's/[\-_]/ /g; s,.*/([^/]+)/?$,\1,'} - echo '<li><a href="'$u'">'^$"n^'</a>' $"desc '</li>' - echo $base_url^$u >> $tmpfile - echo '<url><loc>'$base_url^$u'</loc><lastmod>'^`{get_mdate $i}^'</lastmod></url>' >> $tmpfilex - if(test -d $i) - @{ listDir $i } - } - echo '</ul>' - } -} - - -fltr_cache listDir $sitedir/ - -if(test -s $tmpfile) { - mv $tmpfile $sitedir/sitemap.txt & -} -if not if(test -f $tmpfile) - rm $tmpfile - -if(test -s $tmpfilex) { - { - echo '<?xml version="1.0" encoding="UTF-8"?> -<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' - - cat $tmpfilex - rm $tmpfilex & - echo '</urlset>' - # TODO Enable automaic search engine update notification. - #hget 'http://google.com/ping?sitemap='^`{url_encode $base_url'/sitemap.gz'} > /dev/null - - } | gzip > $sitedir/sitemap.gz & - #} > $sitedir/sitemap.xml & -} -if not if(test -f $tmpfilex) - rm $tmpfilex - -%} diff --git a/dwm.suckless.org/_werc/config b/dwm.suckless.org/_werc/config @@ -2,4 +2,4 @@ masterSite=default.suckless.org siteTitle='dwm' siteImage='/dwm.png' siteSubTitle='dynamic window manager' -sideBarNavTitle='Home' +sideBarNavTitle='home' diff --git a/libs.suckless.org/_werc/config b/libs.suckless.org/_werc/config @@ -1,4 +1,4 @@ masterSite=default.suckless.org siteTitle='libs' siteSubTitle='suckless libraries' -sideBarNavTitle='Home' +sideBarNavTitle='home' diff --git a/man.suckless.org/_werc/config b/man.suckless.org/_werc/config @@ -1,4 +1,4 @@ masterSite=default.suckless.org siteTitle='man' siteSubTitle='pages' -sideBarNavTitle='Home' +sideBarNavTitle='home' diff --git a/st.suckless.org/_werc/config b/st.suckless.org/_werc/config @@ -1,4 +1,4 @@ masterSite=default.suckless.org siteTitle='st' siteSubTitle='a simple X terminal' -sideBarNavTitle='Home' +sideBarNavTitle='home' diff --git a/sta.li/_werc/config b/sta.li/_werc/config @@ -2,4 +2,4 @@ masterSite=default.suckless.org siteTitle='stali - static linux' siteImage='/stali.png' siteSubTitle='statically linked only' -sideBarNavTitle='Home' +sideBarNavTitle='home' diff --git a/suckless.org/_werc/config b/suckless.org/_werc/config @@ -1,7 +1,7 @@ masterSite=default.suckless.org siteTitle='suckless.org' siteSubTitle='Dedicated to software that sucks less' -sideBarNavTitle='News' +sideBarNavTitle='news' conf_perm_redirect '^/gsoc\.html' 'http://suckless.org/project_ideas' conf_perm_redirect '^/gsoc$' 'http://suckless.org/project_ideas' diff --git a/surf.suckless.org/_werc/config b/surf.suckless.org/_werc/config @@ -2,4 +2,4 @@ masterSite=default.suckless.org siteTitle='surf' siteImage='/surf.png' siteSubTitle='a WebKit based browser' -sideBarNavTitle='Home' +sideBarNavTitle='home' diff --git a/tools.suckless.org/_werc/config b/tools.suckless.org/_werc/config @@ -1,4 +1,4 @@ masterSite=default.suckless.org siteTitle='tools' siteSubTitle='suckless tools' -sideBarNavTitle='Home' +sideBarNavTitle='home' diff --git a/wmi.suckless.org/_werc/config b/wmi.suckless.org/_werc/config @@ -1,4 +1,4 @@ masterSite=default.suckless.org siteTitle='wmi' siteSubTitle='window manager improved' -sideBarNavTitle='Home' +sideBarNavTitle='home'