mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-09 05:29:28 +01:00
5 lines
265 B
HTML
Vendored
5 lines
265 B
HTML
Vendored
{% assign depth = page.url | split: '/' | size | minus: 1 %} {% if depth <= 1
|
|
%}{% assign base = '.' %} {% elsif depth == 2 %}{% assign base = '..' %} {%
|
|
elsif depth == 3 %}{% assign base = '../..' %} {% elsif depth == 4 %}{% assign
|
|
base = '../../..' %}{% endif %}
|