From 401682c5124b581ffc81cc9bd208f19435e93b5b Mon Sep 17 00:00:00 2001 From: Nick White Date: Sat, 13 Nov 2010 19:27:02 +0000 Subject: Simplify homepage significantly --- .gitignore | 2 +- Makefile | 6 ++++++ index.txt | 20 ++++---------------- 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/

/

/' >> $@ + 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) ------------------------------------------------------------------------ -- cgit v1.2.3