aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/category.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_layouts/category.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/category.html b/_layouts/category.html
index efb34db..5be0ddc 100644
--- a/_layouts/category.html
+++ b/_layouts/category.html
@@ -7,8 +7,8 @@ layout: default
{% if site.categories[page.category].size > 0 %}
<ul>
{% for post in site.categories[page.category] %}
- <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>
{% endif %}
-<p>For a complete list of posts grouped by category, please see <a href="{{ site.baseurl }}/all/">this page</a>.</p>
+<p>For a complete list of posts grouped by category, please see <a href="{{ '/all/' | relative_url }}">this page</a>.</p>