From e6269894e2b7542903bd1084c74e62e7d9cc1ff0 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Thu, 7 May 2026 16:24:00 +0200 Subject: update --- blogthis | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/blogthis b/blogthis index 6cf6162..6ec102b 100755 --- a/blogthis +++ b/blogthis @@ -2,8 +2,8 @@ # create text, assemble html file, add to articles -#web is a symlink to /home/philip/src/web/wittamore.fr -ROOT=/home/philip/web +#web is a symlink to $HOME/src/web/example.com +ROOT="$HOME/web" mkdir -p $ROOT/.tmp cd $ROOT/.tmp || exit @@ -28,26 +28,30 @@ FIXEDTITLE=${TITLE// /-} ARTICLE="$FIXEDTITLE.html" echo " - + - - + + + $TITLE

Bloggings

- Back -
+  < Blog 
- " > "$ARTICLE" +
+
" > "$ARTICLE" + cat "$EDITFILE" >> "$ARTICLE" -echo ' -

 

-
-

§

+ +echo "
+
+ -' >> "$ARTICLE" +" >> "$ARTICLE" mv "$ARTICLE" "$DEST" echo "saved as $DEST/$ARTICLE" -- cgit v1.3-3-g829e