summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 497f830..7f94b50 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ about :
.md.html:
@echo "Processing $<"
@cat template/header.html > tmp.html
- @ARTICLE_TITLE=`head -n1 $< | cut -d'# ' -f2` ; \
+ @ARTICLE_TITLE=`head -n1 $< | cut -d'#' -f2` ; \
sed -i "s/\$$title/$$ARTICLE_TITLE/g" tmp.html
@echo '<article>' >> tmp.html
@$(MD) $< >> tmp.html