From eb14dda8e8ffc755b0837e0bc2bb9c62281287d7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 13 Aug 2014 23:11:18 -0700 Subject: Use template for HTML version of README. --- Makefile | 2 +- template.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 09f62c2..4a86e44 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ PROG=./stmd all: $(SRCDIR)/case_fold_switch.c $(PROG) README.html: README.md - pandoc -S -s -t html5 -o $@ $< + pandoc --template template.html -S -s -t html5 -o $@ $< spec: test spec.html diff --git a/template.html b/template.html index 2286c68..5416a07 100644 --- a/template.html +++ b/template.html @@ -53,8 +53,12 @@ a.footnoteRef > sup { +$if(title)$

$title$

+$endif$ +$if(version)$
Version $version$ ($date$)
+$endif$
$for(author)$$author$$sep$; $endfor$
-- cgit v1.2.3