wtftftf?
This commit is contained in:
parent
9e9b61eabc
commit
cfc4264419
266 changed files with 80462 additions and 40141 deletions
8
_includes/highlightbase.html
Normal file
8
_includes/highlightbase.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{% assign base = '' %}
|
||||
{% assign depth = page.url | split: '/' | size %}
|
||||
{% if depth <= 1 %}{% assign base = '.' %}
|
||||
{% elsif depth == 2 %}{% assign base = '.' %}
|
||||
{% elsif depth == 3 %}{% assign base = '..' %}
|
||||
{% elsif depth == 4 %}{% assign base = '../..' %}
|
||||
{% elsif depth == 5 %}{% assign base = '../../..' %}
|
||||
{% elsif depth == 6 %}{% assign base = '../../../..' %}{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue