summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-13 19:27:02 +0000
committerNick White <git@njw.me.uk>2010-11-13 19:27:02 +0000
commit401682c5124b581ffc81cc9bd208f19435e93b5b (patch)
treef556690603487f0e322514fe48f5f5f57c2640bf
parent46f834568146f2ba5d369e4645c1812941d04c49 (diff)
downloadnjw-website-401682c5124b581ffc81cc9bd208f19435e93b5b.tar.bz2
njw-website-401682c5124b581ffc81cc9bd208f19435e93b5b.zip
Simplify homepage significantly
-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)
------------------------------------------------------------------------