mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Prepend page links with baseurl
This commit is contained in:
+1
-1
@@ -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
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user