|
7 | 7 | <span class="icon-bar"></span>
|
8 | 8 | <span class="icon-bar"></span>
|
9 | 9 | </button>
|
10 |
| - <a class="navbar-brand" href="{{ site.baseurl }}/"> |
11 |
| - <span><img src="{{site.baseurl}}/img/logonav.png"></span> |
| 10 | + <a class="navbar-brand" href="{{ / | relative_url }}/"> |
| 11 | + <span><img src="{{ "/img/logonav.png" | relative_url}}"></span> |
12 | 12 | </a>
|
13 | 13 | </div>
|
14 | 14 | <div id="navbar" class="collapse navbar-collapse">
|
15 | 15 | <ul class="nav navbar-nav">
|
16 |
| - <li {% if page.sectionid=='download' %} class="active" {% endif %}><a href="{{ "/download.html" | prepend: site.baseurl }}">Download</a></li> |
17 |
| - <li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/publications.html" | prepend: site.baseurl }}">Publications</a></li> |
18 |
| - <li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/docs/home/" | prepend: site.baseurl }}">Docs</a></li> |
19 |
| - <li {% if page.sectionid=='tutorials' %} class="active" {% endif %}><a href="{{ "/tutorials/home/" | prepend: site.baseurl }}">Tutorials</a></li> |
20 |
| - <li {% if page.sectionid=='vandv' %} class="active" {% endif %}><a href="{{ "/vandv/home/" | prepend: site.baseurl }}">V&V</a></li> |
21 |
| - <li {% if page.sectionid=='forum' %} class="active" {% endif %}><a href="{{ "https://www.cfd-online.com/Forums/su2/" | prepend: site.baseurl }}">Forum</a></li> |
22 |
| - <li {% if page.sectionid=='develop' %} class="active" {% endif %}><a href="{{ "/develop.html" | prepend: site.baseurl }}">Develop</a></li> |
| 16 | + <li {% if page.sectionid=='download' %} class="active" {% endif %}><a href="{{ "/download.html" | relative_url }}">Download</a></li> |
| 17 | + <li {% if page.sectionid=='publications' %} class="active" {% endif %}><a href="{{ "/publications.html" | relative_url }}">Publications</a></li> |
| 18 | + <li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/docs/home/" | relative_url }}">Docs</a></li> |
| 19 | + <li {% if page.sectionid=='tutorials' %} class="active" {% endif %}><a href="{{ "/tutorials/home/" | relative_url }}">Tutorials</a></li> |
| 20 | + <li {% if page.sectionid=='vandv' %} class="active" {% endif %}><a href="{{ "/vandv/home/" | relative_url }}">V&V</a></li> |
| 21 | + <li {% if page.sectionid=='forum' %} class="active" {% endif %}><a href="{{ "https://www.cfd-online.com/Forums/su2/" }}">Forum</a></li> |
| 22 | + <li {% if page.sectionid=='develop' %} class="active" {% endif %}><a href="{{ "/develop.html" relative_url }}">Develop</a></li> |
23 | 23 | </ul>
|
24 | 24 | <div class="navbar-right">
|
25 | 25 | <ul class="nav navbar-nav">
|
|
0 commit comments