about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFulton Browne <git@fulton.software>2021-05-28 15:28:18 +0000
committerFulton Browne <git@fulton.software>2021-05-28 15:28:18 +0000
commit94bf6b9d08bfeaf8e5e08b0e5c9db413aa0c0523 (patch)
tree4ebaec342d28ea4d9a748239b87a74055dba07d0
parent598addf2fe5994c8c237a853a206004163da99f0 (diff)
downloadg9srv-94bf6b9d08bfeaf8e5e08b0e5c9db413aa0c0523.tar.gz
fast script HEAD master
-rwxr-xr-xinstall1
-rwxr-xr-xwb3
-rwxr-xr-xwebblog2
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