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