diff --git a/notes2web b/notes2web
index db9d1ce..0a48371 100755
--- a/notes2web
+++ b/notes2web
@@ -21,7 +21,7 @@ function _renderarticle {
function _adddirtoindex {
dir="$(dirname "$1")"
- echo "
$(basename "$dir") notes
" >> index.md
+ echo "$(basename "$dir") notes
" >> index.md
find "$dir" -name '*.md' -exec bash -c "_addarticletoindex '{}'" \;
}
diff --git a/templates/index.html b/templates/index.html
index d233a28..ae2d750 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -6,5 +6,6 @@
$title$
+ $title$
$body$