Navigation refactoring
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -10,16 +10,20 @@
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<div class="mainnav">
|
||||
<h1><a href="{{ config.base_url }}">Recepty na cesty</a></h1>
|
||||
<ul>
|
||||
<li><a href="{{ get_url(path="@/vyhledavani.md") }}" title="Vyhledávání"><span class="icon-search"></span></a></li>
|
||||
<!-- <li><a href="/info/"><span class="icon-info"></span></a></li> -->
|
||||
<li><a href="{{ config.extra.git }}" title="Git"><span class="icon-git"></span></a></li>
|
||||
</ul>
|
||||
<div class="primary">
|
||||
<div class="wrap">
|
||||
<a href="{{ config.base_url }}" class="title">Recepty na cesty</a>
|
||||
<ul>
|
||||
<li><a href="{{ get_url(path="@/vyhledavani.md") }}" title="Vyhledávání"><span class="icon-search"></span></a></li>
|
||||
<!-- <li><a href="/info/"><span class="icon-info"></span></a></li> -->
|
||||
<li><a href="{{ config.extra.git }}" title="Git"><span class="icon-git"></span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="subnav">
|
||||
{{ macro::subnav() }}
|
||||
<div class="secondary">
|
||||
<div class="wrap">
|
||||
{{ macro::subnav() }}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% block content %}{% endblock content %}
|
||||
|
@ -44,7 +44,7 @@
|
||||
{% for item in config.extra.menu %}
|
||||
<li><a href="{{ item.path }}"
|
||||
{% if item.path == current_path %}
|
||||
class="active"
|
||||
class="selected"
|
||||
{% endif %}
|
||||
>{{ item.name }}</a></li>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user