Skip to content

Commit 7ef7288

Browse files
committed
Rename set_paths to more generic 'setup'
This is because 'setup' will need to be included in every post/page file if we want to have access to BASE_PATH. So I figure 'setup' will be a good access path for any future inclusions we need to make
1 parent 779afdd commit 7ef7288

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{% capture jbcache %}
2-
<!--
3-
Dynamically set liquid variables for working with URLs/paths
4-
-->
5-
2+
<!--
3+
- Dynamically set liquid variables for working with URLs/paths
4+
-->
65
{% if site.safe and site.JB.BASE_PATH %}
76
{% assign BASE_PATH = site.JB.BASE_PATH %}
87
{% assign HOME_URL = site.JB.BASE_PATH %}
98
{% else %}
10-
{% assign BASE_PATH = "" %}
9+
{% assign BASE_PATH = nil %}
1110
{% assign HOME_URL = "/" %}
1211
{% endif %}
1312

@@ -17,4 +16,4 @@
1716
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %}
1817
{% endif %}
1918

20-
{% endcapture %}{% assign jbcache = null %}
19+
{% endcapture %}{% assign jbcache = nil %}

0 commit comments

Comments
 (0)