diff options
author | Nicolas Kuttler <git@kuttler.eu> | 2015-02-12 22:40:15 +0100 |
---|---|---|
committer | Nicolas Kuttler <git@kuttler.eu> | 2015-02-12 22:46:36 +0100 |
commit | 8c28becbb86e6cdb910cbb12221067b08cf43923 (patch) | |
tree | 3c6dbd8aeb1dfbd00e409938c0715bcef1510e2f /_layouts | |
parent | 76820ed6ae9a96e97c9cac54f8aec16bab694cfb (diff) | |
download | irssi.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')
-rw-r--r-- | _layouts/home.html | 2 |
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 %} |