diff --git a/TODO b/TODO
index 64fde97..5aba81b 100644
--- a/TODO
+++ b/TODO
@@ -6,5 +6,4 @@ Flake8 the whole thing ! :)
Known bugs :
===========
-On article / tag pages : links are relative and don't work
@titre not remplaced
diff --git a/pre-commit.py b/pre-commit.py
index bd9a6e9..11d58ad 100755
--- a/pre-commit.py
+++ b/pre-commit.py
@@ -316,10 +316,12 @@ try:
header = header_fh.read()
tags_header = "
"
header = header.replace("@categories", tags_header, 1)
+ header = header.replace("@blog_url", params["BLOG_URL"], 1)
+
#Articles
latest_articles_list = latest_articles("gen/", 5)
articles_header = ""
@@ -333,7 +335,7 @@ try:
title_pos = line.find("@title=")
title = line[title_pos+7:]
- articles_header += "- "+title+"
"
+ articles_header += "- "+title+"
"
except IOError:
sys.exit("[ERROR] Unable to open file "+article+".")
articles_header += "
"