diff options
author | b4rkod <void@Asena.localdomain> | 2023-12-27 19:42:57 +0300 |
---|---|---|
committer | b4rkod <void@Asena.localdomain> | 2023-12-27 19:42:57 +0300 |
commit | c0823d1f91a0e990a23d82720a051f17c79e0cc9 (patch) | |
tree | 0c293fc0ace0c41842ffb1e6db8941f3c741b22d /add_to_index.sh | |
parent | 69bacbf80fa283054f90afe2c93db95d2fc557c9 (diff) |
made things slightly better
Diffstat (limited to 'add_to_index.sh')
-rwxr-xr-x | add_to_index.sh | 2 |
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 |