Skip to content

Commit 4988f91

Browse files
committed
wip
1 parent 797b1f8 commit 4988f91

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

_includes/wmt/docs-navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2><i class="fa fa-chevron-right pale-blue"></i> {{ item.title }}</h2>
1212
{% endif %}
1313
{% for entry in item.subfolderitems %}
1414
<li {% if page.url contains entry.context %}class="active"{% endif %}>
15-
<a href="{{entry.context}}.html">{{ entry.page }}</a></li>
15+
<a href="{{entry.context | relative_url}}.html">{{ entry.page }}</a></li>
1616
{% endfor %}
1717
</ul>
1818
{% endfor %}

_includes/wmt/header.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!--<li><i class="fa fa-globe" aria-hidden="true"></i></li>-->
77
{% for link in site.cross-site %}
88
<li class="{{ current }}">
9-
<a href="{{ link.url }}">{{ link.title }}</a> /
9+
<a href="{{ link.url || relative_url }}">{{ link.title }}</a> /
1010
</li>
1111
{% endfor %}
1212
<li>{{ site.name }}</li>
@@ -23,8 +23,8 @@
2323
<span class="icon-bar"></span>
2424
<span class="icon-bar"></span>
2525
</button>
26-
<a class="navbar-brand" href="/index.html">
27-
<img id="logo-header" src="{{site.logo}}" alt="{{site.description}}" width="200" height="80" />
26+
<a class="navbar-brand" href={{ "index.html" | relative_url }}>
27+
<img id="logo-header" src="{{site.logo | relative_url}}" alt="{{site.description}}" width="200" height="80" />
2828
</a>
2929
</div>
3030

@@ -41,14 +41,14 @@
4141
{% endif %}
4242
<li class="{{current}}">
4343
{% if link.subnavigation != null %}
44-
<a href="{{ link.url }}" id="{{ link.id }}" data-toggle="dropdown">{{ link.title }}</a>
44+
<a href="{{ link.url | relative_url }}" id="{{ link.id }}" data-toggle="dropdown">{{ link.title }}</a>
4545
<ul class="dropdown-menu {% if link.multicol == true %}multicol{% endif %}" role="menu" aria-labelledby="{{ link.id }}">
4646
{% for sublink in link.subnavigation %}
47-
<li><a href="{{ sublink.url }}">{{ sublink.title }}</a></li>
47+
<li><a href="{{ sublink.url | relative_url }}">{{ sublink.title }}</a></li>
4848
{% endfor %}
4949
</ul>
5050
{% else %}
51-
<a href="{{ link.url }}">{{ link.title }}</a>
51+
<a href="{{ link.url | relative_url }}">{{ link.title }}</a>
5252
{% endif %}
5353
</li>
5454
{% endfor %}

_includes/wmt/html-body-end.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<!-- JS Global Compulsory -->
3-
<script type="text/javascript" src="{{site.context}}/assets/wmt/plugins/bootstrap/js/bootstrap.min.js"></script>
4-
<script type="text/javascript" src="{{site.context}}/assets/wmt/js/back-to-top.js"></script>
5-
<script type="text/javascript" src="{{site.context}}/assets/wmt/js/menu.js"></script>
3+
<script type="text/javascript" src={{ "assets/wmt/plugins/bootstrap/js/bootstrap.min.js" | relative_url }}></script>
4+
<script type="text/javascript" src={{ "assets/wmt/js/back-to-top.js" | relative_url }}></script>
5+
<script type="text/javascript" src={{ "assets/wmt/js/menu.js" | relative_url }}></script>
66
{% if site.matomo-analytics == true %}
77
{% include wmt/matomo-analytics.html %}
88
{% endif %}

_includes/wmt/html-head.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
<meta name="author" content="{{site.domain}}" />
1212
<meta property="twitter:account_id" content="{{site.twitterId}}" />
1313
<!-- WMT resources -->
14-
<link rel="stylesheet" href="{{site.context}}/assets/wmt/plugins/bootstrap/css/bootstrap.css" />
14+
<link rel="stylesheet" href={{ "assets/wmt/plugins/bootstrap/css/bootstrap.css" | relative_url }} />
1515
<!--<link rel="stylesheet" href="{{site.context}}/assets/wmt/css/syntax.css" />-->
16-
<link rel="stylesheet" href="{{site.context}}/assets/wmt/plugins/prism/prism.css" />
17-
<link rel="stylesheet" href="{{site.context}}/assets/wmt/css/wmt.css" />
18-
<link rel="stylesheet" href="{{site.context}}/assets/wmt/plugins/font-awesome/css/font-awesome.css" />
16+
<link rel="stylesheet" href={{ "assets/wmt/plugins/prism/prism.css" | relative_url }} />
17+
<link rel="stylesheet" href={{ "assets/wmt/css/wmt.css" | relative_url }} />
18+
<link rel="stylesheet" href={{ "assets/wmt/plugins/font-awesome/css/font-awesome.css" | relative_url }} />
1919

2020
<!-- site specific resources -->
21-
<link rel="stylesheet" href="{{site.context}}/assets/css/custom.css" />
22-
<link rel="shortcut icon" href="{{site.context}}/assets/img/favicon.png" />
21+
<link rel="stylesheet" href={{ "assets/css/custom.css" | relative_url }} />
22+
<link rel="shortcut icon" href={{ "assets/img/favicon.png" | relative_url }} />
2323

2424
<!-- scripts -->
25-
<script type="text/javascript" src="{{site.context}}/assets/wmt/js/jquery-3.1.1.min.js"></script>
26-
<script type="text/javascript" src="{{site.context}}/assets/wmt/js/modernizr.custom.js"></script>
27-
<script type="text/javascript" src="{{site.context}}/assets/wmt/js/atom-read.js"></script>
28-
<script type="text/javascript" src="{{site.context}}/assets/wmt/plugins/prism/prism.js"></script>
25+
<script type="text/javascript" src={{ "assets/wmt/js/jquery-3.1.1.min.js" | relative_url }}></script>
26+
<script type="text/javascript" src={{ "assets/wmt/js/modernizr.custom.js" | relative_url }}></script>
27+
<script type="text/javascript" src={{ "assets/wmt/js/atom-read.js" | relative_url }}></script>
28+
<script type="text/javascript" src={{ "assets/wmt/plugins/prism/prism.js" | relative_url }}></script>
2929

3030
<!--[if lt IE 9]>
3131
<script src="{{site.context}}/assets/wmt/js/respond.js"></script>

_includes/wmt/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
</li>
1515

16-
<script type="text/javascript" src="{{site.context}}/assets/wmt/js/simple-jekyll-search.js"></script>
16+
<script type="text/javascript" src={{ "assets/wmt/js/simple-jekyll-search.js" | relative_url }}></script>
1717
<script>
1818
SimpleJekyllSearch({
1919
searchInput: document.getElementById('search-input'),

assets/wmt/js/back-to-top.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var scrolltotop={
99
//startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
1010
//scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
1111
setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
12-
controlHTML: '<img src="/assets/wmt/img/up.png" style="width:51px; height:42px" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
12+
controlHTML: '<img src="./assets/wmt/img/up.png" style="width:51px; height:42px" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
1313
controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ bottom of window corner
1414
anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
1515

docs/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ side-navigation: wmt/docs-navigation.html
88

99
Welcome to the Concord documentation!
1010

11-
- Learn [about Concord](../overview/index.html).
12-
- [Get started using Concord](./getting-started/index.html).
13-
- [Install Concord](./getting-started/installation.html)
14-
- Create your first project with the [quickstart guide](./getting-started/quickstart.html).
15-
- Write flows and more with the [Concord DSL](./processes-v1/index.html#dsl).
11+
- Learn [about Concord]({{ "overview/index.html" | relative_url }}).
12+
- [Get started using Concord]({{ "getting-started/index.html" | relative_url }}).
13+
- [Install Concord]({{ "getting-started/installation.html" | relative_url }})
14+
- Create your first project with the [quickstart guide]({{ "getting-started/quickstart.html" | relative_url }}).
15+
- Write flows and more with the [Concord DSL]({{ "processes-v1/index.html#dsl" | relative_url}} ).
1616
- Find out about [plugins](./plugins/index.html).
1717
- Reference the [API](./api/index.html).
18-
- a [Postman](https://www.postman.com/) collection can be found [here](/assets/postman/concord-api.postman_collection.json).
18+
- a [Postman](https://www.postman.com/) collection can be found [here]({{ "assets/postman/concord-api.postman_collection.json" | relative_url }}).
1919

2020
Enjoy,
2121

0 commit comments

Comments
 (0)