graffen.dk-website/_includes/base.html

4 lines
182 B
HTML

{% capture lvl %}{{ page.url | append:'index.html' | split:'/' | size }}{% endcapture %}
{% capture base %}{% for i in (3..lvl) %}../{% endfor %}{% endcapture %}
<!-- {{ base }} -->