aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/categories/categories.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/categories/categories.html b/_includes/categories/categories.html
index c5a60f3..05ef954 100644
--- a/_includes/categories/categories.html
+++ b/_includes/categories/categories.html
@@ -1,10 +1,10 @@
{% if site.categories.size != 0 %}
{% for category in site.categories %}
- <h1><a class="category" href="{{ site.baseurl }}/categories/{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1>
+ <h1><a class="category" href="{{ '/categories/' | relative_url }}{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1>
<hr/>
<ul>
{% for post in category[1] %}
- <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
+ <li><a href="{{ post.url | relative_url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}