summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile6
-rw-r--r--index.txt20
3 files changed, 11 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index cb0dd3b..2aa9928 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,7 @@
index.ttl
writing/index.txt
writing/*.pdf
-software/readable
+software/simplyread
software/spout
!includes/*.xml
diff --git a/Makefile b/Makefile
index 46d70b1..3c9d583 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,12 @@ writing/index.txt: $(BIB) $(WRITING)
sh bibtotxt.sh $(BIB) >> $@
sh listarticles.sh writing $(BIB) >> $@
+index.html: index.txt
+ echo making $@
+ sed "s/TITLE/`head -n 1 < $<`/" < includes/header.xml > $@
+ $(MD) $< | sed 's/<p>/<p style="text-align:center">/' >> $@
+ sed '2d' < includes/footer.xml >> $@
+
clean:
rm -f -- $(TARGETS) $(GZIP)
diff --git a/index.txt b/index.txt
index b579080..78a9147 100644
--- a/index.txt
+++ b/index.txt
@@ -1,19 +1,7 @@
Nick J. White (njw)
-=======================================================================
-
-[Software](software/)
------------------------------------------------------------------------
-More information about the free software projects I have been and am
-involved with.
-
-[Web Development](webdev)
------------------------------------------------------------------------
-I do some freelance web development work. There is more information
-here on the services I can offer.
-
-[Writing](writing/)
------------------------------------------------------------------------
-Articles I've written, both academic and less so.
+====================
+[Software](software/) |
+[Web Development](webdev) |
+[Publications](pubs/) |
[Contact](contact)
------------------------------------------------------------------------