diff options
| author | Fulton Browne <git@fulton.software> | 2021-05-28 15:28:18 +0000 |
|---|---|---|
| committer | Fulton Browne <git@fulton.software> | 2021-05-28 15:28:18 +0000 |
| commit | 94bf6b9d08bfeaf8e5e08b0e5c9db413aa0c0523 (patch) | |
| tree | 4ebaec342d28ea4d9a748239b87a74055dba07d0 | |
| parent | 598addf2fe5994c8c237a853a206004163da99f0 (diff) | |
| download | g9srv-master.tar.gz | |
| -rwxr-xr-x | install | 1 | ||||
| -rwxr-xr-x | wb | 3 | ||||
| -rwxr-xr-x | webblog | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -2,3 +2,4 @@ mkdir -p /rc/bin/g9srv cp rfs blog /rc/bin/g9srv cp gemtohtm /lib/ +cp webblog /rc/bin/g9srv @@ -0,0 +1,3 @@ +#!/bin/rc +g9srv/webblog -o /usr/web/posts -w /usr/glenda/code/gemsite/ + @@ -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 |