From d289d6a5a4f09a19529324645ed8002e39d2c085 Mon Sep 17 00:00:00 2001 From: Uriel Date: Tue, 2 Dec 2008 11:38:45 +0100 Subject: [PATCH] Fix stupid typo, thanks 9soul for the catch! --- lib/feeds/atom.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/feeds/atom.tpl b/lib/feeds/atom.tpl index 593cd34..513350f 100644 --- a/lib/feeds/atom.tpl +++ b/lib/feeds/atom.tpl @@ -8,7 +8,7 @@ fn statpost { f = $1 updated = `{/bin/date --rfc-3339'=seconds' -r $f |sed 's/ /T/'} - post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,'-e 's/\.(md|tpl)$//g'}} + post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,' -e 's/\.(md|tpl)$//g'}} title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' } date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}} # TODO: use mtime(1) and ls(1) instead of lunix's stat(1)