Compare commits
2 Commits
eb0f09393c
...
4ed10e5bc0
Author | SHA1 | Date | |
---|---|---|---|
4ed10e5bc0 | |||
72fbf5d212 |
@ -1,5 +1,5 @@
|
||||
+++
|
||||
title = "Pečěné kuře v sýrové omáčce s houbami"
|
||||
title = "Pečené kuře v sýrové omáčce s houbami"
|
||||
date = 2023-04-02
|
||||
author = "Terezka"
|
||||
|
||||
|
@ -61,6 +61,11 @@ nav {
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
background:$nav-background-secondary;
|
||||
|
||||
a.active {
|
||||
color: $nav-anchor-hover-color;
|
||||
background-color: $nav-background-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,11 @@
|
||||
{% macro subnav() %}
|
||||
<ul>
|
||||
{% for item in config.extra.menu %}
|
||||
<li><a href="{{ item.path }}">{{ item.name }}</a></li>
|
||||
<li><a href="{{ item.path }}"
|
||||
{% if item.path == current_path %}
|
||||
class="active"
|
||||
{% endif %}
|
||||
>{{ item.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endmacro subnav %}
|
||||
|
Loading…
Reference in New Issue
Block a user