summaryrefslogtreecommitdiff
path: root/add_to_index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'add_to_index.sh')
-rwxr-xr-xadd_to_index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_to_index.sh b/add_to_index.sh
index f1aa9d0..ac1a169 100755
--- a/add_to_index.sh
+++ b/add_to_index.sh
@@ -3,5 +3,5 @@ FILE=$(basename $1|sed s/.txt/.html/)
echo $FILE
/home/void/www/sh/formatter.sh /home/void/www/blogposts/$(basename $1) >| "$HOME/www/source/blogposts/$FILE"
$HOME/www/sh/add_to_rss.sh $1
-sed -i "/\<ul name=blogposts\>/s/$/\n\t\<li\>\<a href=\"blogposts\/$FILE\"\>$FILE\<\/a\>\<\/li\>/" $HOME/www/source/index.html
+sed -i "/\<ul id=\"blogposts\"\>/s/$/\n\t\<li\>\<a href=\"blogposts\/$FILE\"\>$FILE\<\/a\>\<\/li\>/" $HOME/www/source/index.html