mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
Override the whole navbar.
We want a different behaviour for the home link, as we want it to redirect to gstreamer.freedesktop.org (for now).
This commit is contained in:
parent
12bf1337d3
commit
78282e9b8b
2 changed files with 22 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
|||
@require(assets_path)
|
||||
|
||||
<img src="@assets_path/images/gstreamer-logo.svg" alt="Home">
|
22
extra_theme/templates/navbar.html
Normal file
22
extra_theme/templates/navbar.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
@require(assets_path)
|
||||
|
||||
<nav class="navbar navbar-fixed-top navbar-default">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-wrapper" aria-expanded="false">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a href="https://gstreamer.freedesktop.org/" class="hotdoc-navbar-brand">
|
||||
<img src="@assets_path/images/gstreamer-logo.svg" alt="Home">
|
||||
</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse" id="navbar-wrapper">
|
||||
<ul class="nav navbar-nav" id="menu">
|
||||
@include("navbar_links.html")
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
Loading…
Reference in a new issue