summaryrefslogtreecommitdiff
path: root/_layouts/home.html
diff options
context:
space:
mode:
authorNicolas Kuttler <git@kuttler.eu>2015-02-12 22:40:15 +0100
committerNicolas Kuttler <git@kuttler.eu>2015-02-12 22:46:36 +0100
commit8c28becbb86e6cdb910cbb12221067b08cf43923 (patch)
tree3c6dbd8aeb1dfbd00e409938c0715bcef1510e2f /_layouts/home.html
parent76820ed6ae9a96e97c9cac54f8aec16bab694cfb (diff)
downloadirssi.github.io-8c28becbb86e6cdb910cbb12221067b08cf43923.zip
Use the base url setting everywhere
With this merged all one has to do to serve the project as a github project page is to set the baseurl value to /project-name in _config.yml See http://nkuttler.github.io/irssi.github.io/
Diffstat (limited to '_layouts/home.html')
-rw-r--r--_layouts/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/home.html b/_layouts/home.html
index 81451b6..c325bfb 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -5,7 +5,7 @@ layout: default
<h1>News{% if paginator.page > 1 %} Archive{% endif %}</h1>
{% for post in paginator.posts %}
- <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
+ <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
{% include postmeta.html node=post %}
{{ post.content | markdownify }}
{% endfor %}