Don't rewrite the single page URL in single-page.html.
--- a/publish/publish.js Thu Mar 28 11:21:11 2013 +1100
+++ b/publish/publish.js Thu Mar 28 12:44:38 2013 +1100
@@ -158,7 +158,7 @@
n.setAttribute('href', '#' + page + '-' + href.substring(1));
} else if (href.match(/^([^\/]+)\.html#(.*)$/)) {
n.setAttribute('href', '#' + RegExp.$1 + '-' + RegExp.$2);
- } else if (href.match(/^([^\/]+)\.html$/)) {
+ } else if (href.match(/^([^\/]+)\.html$/) && RegExp.$1 != 'single-page') {
n.setAttribute('href', '#chapter-' + RegExp.$1);
}
}