diff --git a/scripts/build.sh b/scripts/build.sh index 92c7589..bd5058c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -97,6 +97,7 @@ pandoc -f markdown --template=../templates/custom $TEMP \ --toc --toc-depth=1 \ --listings \ --include-before-body=../content/intro.txt \ + --to=epub2 \ -o $OUTPUTEPUB ## End of file diff --git a/templates/custom.epub2 b/templates/custom.epub2 new file mode 100644 index 0000000..4f97df9 --- /dev/null +++ b/templates/custom.epub2 @@ -0,0 +1,51 @@ + + + +
+ + + +$publisher$
+$endif$ +$if(date)$ +$date$
+$endif$ +$if(rights)$ +$rights$
+$endif$ +$else$ +$body$ +$endif$ + + \ No newline at end of file