Prepend page links with baseurl

This commit is contained in:
Adam Hollett
2016-06-14 16:27:18 -04:00
parent 4fdb21e0ea
commit 55bded5041
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ type: index
{% assign filter_pages = site.pages | where: 'type', 'filter' %}
{% for item in filter_pages %}
## [{{ item.title }}]({{ item.url }})
## [{{ item.title }}]({{ item.url | prepend: site.baseurl }})
{{ item.content }}
{% endfor %}
+1 -1
View File
@@ -10,7 +10,7 @@ The markup used in tags does not produce any visible text. This means that you c
{% assign tag_pages = site.pages | where: 'type', 'tag' %}
{% for item in tag_pages %}
## [{{ item.title }}]({{ item.url }})
## [{{ item.title }}]({{ item.url | prepend: site.baseurl }})
{{ item.content }}
{% endfor %}