mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-26 13:45:13 -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' %}
|
{% assign filter_pages = site.pages | where: 'type', 'filter' %}
|
||||||
|
|
||||||
{% for item in filter_pages %}
|
{% for item in filter_pages %}
|
||||||
## [{{ item.title }}]({{ item.url }})
|
## [{{ item.title }}]({{ item.url | prepend: site.baseurl }})
|
||||||
|
|
||||||
{{ item.content }}
|
{{ item.content }}
|
||||||
{% endfor %}
|
{% 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' %}
|
{% assign tag_pages = site.pages | where: 'type', 'tag' %}
|
||||||
|
|
||||||
{% for item in tag_pages %}
|
{% for item in tag_pages %}
|
||||||
## [{{ item.title }}]({{ item.url }})
|
## [{{ item.title }}]({{ item.url | prepend: site.baseurl }})
|
||||||
|
|
||||||
{{ item.content }}
|
{{ item.content }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user