Remove mobile-specific navigation options
This commit is contained in:
parent
ee77ff7c84
commit
85f0e72676
@ -21,7 +21,6 @@ nav = [
|
||||
{title = "Index", path = "/"},
|
||||
{title = "About", path = "/about/"},
|
||||
{title = "Search", path = "/posts/"},
|
||||
{title = "Categories", path = "/categories/", mobile_only = true}
|
||||
]
|
||||
latest_posts_count = 3
|
||||
repository_url = "https://git.0x45.cz/em/em.0x45.cz"
|
||||
|
@ -102,7 +102,6 @@ nav {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
li.mobile-only { display: none }
|
||||
}
|
||||
}
|
||||
|
||||
@ -224,7 +223,6 @@ a {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
ul li.mobile-only { display: list-item }
|
||||
span.title { display: none }
|
||||
}
|
||||
|
||||
|
@ -26,11 +26,7 @@
|
||||
<span class="title">Navigation</span>
|
||||
<ul class="main">
|
||||
{% for item in config.extra.nav %}
|
||||
<li
|
||||
{% if item.mobile_only %}
|
||||
class="mobile-only"
|
||||
{% endif %}
|
||||
><a href="{{ get_url(path=item.path, trailing_slash=true) }}">{{ item.title }}</a></li>
|
||||
<li><a href="{{ get_url(path=item.path, trailing_slash=true) }}">{{ item.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<span class="title">Categories</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user