No really, fix it for real
This commit is contained in:
parent
b9c28e5d7e
commit
28fc21c90e
|
|
@ -16,6 +16,7 @@ It emits some blank lines because Jekyll, lol.
|
||||||
|
|
||||||
{% assign depth = page.url | split: '/' | size | minus: 1 %}
|
{% assign depth = page.url | split: '/' | size | minus: 1 %}
|
||||||
|
|
||||||
|
{% assign base = '' %}
|
||||||
{% if depth <= 1 %}{% assign base = '.' %}
|
{% if depth <= 1 %}{% assign base = '.' %}
|
||||||
{% elsif depth == 2 %}{% assign base = '..' %}
|
{% elsif depth == 2 %}{% assign base = '..' %}
|
||||||
{% elsif depth == 3 %}{% assign base = '../..' %}
|
{% elsif depth == 3 %}{% assign base = '../..' %}
|
||||||
|
|
@ -33,6 +34,4 @@ It emits some blank lines because Jekyll, lol.
|
||||||
{% capture meta_description %}{% include values/description.html page=include.page %}{% endcapture %}
|
{% capture meta_description %}{% include values/description.html page=include.page %}{% endcapture %}
|
||||||
{% assign meta_description = meta_description | strip_newlines %}
|
{% assign meta_description = meta_description | strip_newlines %}
|
||||||
|
|
||||||
{% assign base = '' %}
|
|
||||||
|
|
||||||
{% capture page_url %}{{ site.url }}{{ page.url | remove: '.html' }}{% endcapture %}
|
{% capture page_url %}{{ site.url }}{{ page.url | remove: '.html' }}{% endcapture %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue