File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ {% if page.path contains "index.md" %}
2
+ {% capture basehref %}{{ page.url }}{% endcapture %}
3
+ {% else %}
4
+ {% assign crumbs = page.url | split: '/' %}
5
+ {% assign stoppingpoint = crumbs | size | minus: 1 %}
6
+ {% assign output = "" %}
7
+ {% for crumb in crumbs %}
8
+ {% if forloop.index == stoppingpoint %}
9
+ {% capture basehref %}{{basehref}}{{ crumb }}/{% endcapture %}
10
+ {% break %}
11
+ {% else %}
12
+ {% capture basehref %}{{basehref}}{{ crumb }}/{% endcapture %}
13
+ {% endif %}
14
+ {% endfor %}
15
+ {% endif %}
1
16
<!DOCTYPE html>
2
17
< html class ="js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms no-csstransforms3d csstransitions fontface no-generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths retina-display is_not_retina chrome version webkit " lang ="en ">
3
18
< head >
19
+ < base href ="{{ basehref }} "/>
4
20
< meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 ">
5
21
< style type ="text/css ">
6
22
@charset "UTF-8" ;
You can’t perform that action at this time.
0 commit comments