Commit 961d1410 authored by Marvin Scholz's avatar Marvin Scholz

Fix various main menu issues

parent 0c5705c9
Pipeline #4314 passed with stage
in 11 seconds
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="{{ site.baseurl }}">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> {{ site.title }}
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -7,14 +7,15 @@
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
<li class="nav-item{% if page.url == '/' %} active{% endif %}">
<a class="nav-link" href="{{ site.baseurl }}{% link index.md %}">Overview{% if page.url == '/' %} <span class="sr-only">(current)</span>{% endif %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}{% link introduction.md %}">Introduction</a>
{% capture introduction_url %}{% link introduction.md %}{% endcapture %}
<li class="nav-item{% if page.url == introduction_url %} active{% endif %}">
<a class="nav-link" href="{{ site.baseurl }}{{ introduction_url }}">Introduction{% if page.url == introduction_url %} <span class="sr-only">(current)</span>{% endif %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.baseurl }}{% link docs.md %}">Documentation</a>
<li class="nav-item{% if page.url contains '/docs/' %} active{% endif %}">
<a class="nav-link" href="{{ site.baseurl }}{% link docs.md %}">Documentation{% if page.url contains '/docs/' %} <span class="sr-only">(current)</span>{% endif %}</a>
</li>
<!--
<li class="{% if page.url == '/about/' %}active{% endif %}">
......
......@@ -46,7 +46,7 @@
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="/devdocs">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> Developer Docs
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -54,9 +54,10 @@
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
<li class="nav-item">
<a class="nav-link" href="/devdocs/">Overview</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/intro/">Introduction</a>
</li>
......
......@@ -49,7 +49,7 @@
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="/devdocs">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> Developer Docs
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -57,14 +57,15 @@
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
<li class="nav-item">
<a class="nav-link" href="/devdocs/">Overview</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/intro/">Introduction</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/docs/">Documentation</a>
<li class="nav-item active">
<a class="nav-link" href="/devdocs/docs/">Documentation <span class="sr-only">(current)</span></a>
</li>
<!--
<li class="">
......
......@@ -46,7 +46,7 @@
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="/devdocs">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> Developer Docs
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -54,14 +54,15 @@
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
<li class="nav-item">
<a class="nav-link" href="/devdocs/">Overview</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/intro/">Introduction</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/docs/">Documentation</a>
<li class="nav-item active">
<a class="nav-link" href="/devdocs/docs/">Documentation <span class="sr-only">(current)</span></a>
</li>
<!--
<li class="">
......
......@@ -6,8 +6,8 @@
</description>
<link>http://epirat.pages.videolan.net/devdocs/</link>
<atom:link href="http://epirat.pages.videolan.net/devdocs/feed.xml" rel="self" type="application/rss+xml" />
<pubDate>Tue, 05 Feb 2019 08:14:34 +0100</pubDate>
<lastBuildDate>Tue, 05 Feb 2019 08:14:34 +0100</lastBuildDate>
<pubDate>Tue, 05 Feb 2019 08:39:07 +0100</pubDate>
<lastBuildDate>Tue, 05 Feb 2019 08:39:07 +0100</lastBuildDate>
<generator>Jekyll v3.7.3</generator>
<item>
......
......@@ -46,7 +46,7 @@
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="/devdocs">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> Developer Docs
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -55,8 +55,9 @@
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
<a class="nav-link" href="/devdocs/">Overview <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/intro/">Introduction</a>
</li>
......
......@@ -46,7 +46,7 @@
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="/devdocs">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> Developer Docs
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -54,11 +54,12 @@
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/intro/">Introduction</a>
<a class="nav-link" href="/devdocs/">Overview</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="/devdocs/intro/">Introduction <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/docs/">Documentation</a>
......
......@@ -46,7 +46,7 @@
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="/devdocs">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> Developer Docs
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -54,9 +54,10 @@
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
<li class="nav-item">
<a class="nav-link" href="/devdocs/">Overview</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/intro/">Introduction</a>
</li>
......
......@@ -46,7 +46,7 @@
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">
<a class="navbar-brand" href="/devdocs">
<img src="https://images.videolan.org/images/VLC-IconSmall.png" width="30" height="30" class="d-inline-block align-top" alt="VLC"> Developer Docs
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
......@@ -54,9 +54,10 @@
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Overview <span class="sr-only">(current)</span></a>
<li class="nav-item">
<a class="nav-link" href="/devdocs/">Overview</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/devdocs/intro/">Introduction</a>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment