diff --git a/homepage/blog b/homepage/blog index 1b2d06d..6b401f8 100755 --- a/homepage/blog +++ b/homepage/blog @@ -56,10 +56,10 @@ with open('../$0', 'r') as f: with open(day.split('\n')[0]+'.html', 'x') as g: g.write(prefix+day+'\n'+suffix) ";cd blah;for f in *.html;do #in glob we trust -test -z "$last" || sed -i "s,__NAVIGATION__,$nav\>

," \ +test -z "$last" || sed -i "s,_NAVIGATION_,$nav\>

," \ "$last";nav="

";test -z "$last"||nav="$nav\<" nav="$nav^";last="$f";done -sed -i "s,__NAVIGATION__,$nav

," "$last";for f in *.html;do #e unibus puellam +sed -i "s,_NAVIGATION_,$nav

," "$last";for f in *.html;do #e unibus puellam fi="$(echo "$f" | cut -d . -f 1)";test "$fi" = "index" && continue printf '%s\n' "$fi" "$fi"; done|sort -r|\ sed -e "1iblah
\