diff options
-rwxr-xr-x | install | 1 | ||||
-rwxr-xr-x | wb | 3 | ||||
-rwxr-xr-x | webblog | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/install b/install index 0e630ee..50db3e4 100755 --- a/install +++ b/install @@ -2,3 +2,4 @@ mkdir -p /rc/bin/g9srv cp rfs blog /rc/bin/g9srv cp gemtohtm /lib/ +cp webblog /rc/bin/g9srv diff --git a/wb b/wb new file mode 100755 index 0000000..70c633d --- /dev/null +++ b/wb @@ -0,0 +1,3 @@ +#!/bin/rc +g9srv/webblog -o /usr/web/posts -w /usr/glenda/code/gemsite/ + diff --git a/webblog b/webblog index ff67fa1..a32b260 100755 --- a/webblog +++ b/webblog @@ -28,6 +28,8 @@ for(i in $posts){ echo '<link rel="stylesheet" href="/style.css">' > $o'/'index.html echo '<title>fulton.software blog</title>' >> $o'/'index.html +echo '<h1>Fulton''s blog</h1>' >> $o'/'index.html + for(i in $posts){ name=`{gettitle $i} echo '<a href="'$i'.html">'$"name'</a> <br>' >> $o'/'index.html |