Wrap the nav bar into a header element

main
trivernis 1 year ago
parent 1ac084a956
commit a968844b7b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: DFFFCC2C7A02DB45

@ -17,14 +17,16 @@
</head> </head>
<body> <body>
<ul class="navbar"> <header>
<li {% if current_path == "/" %} class="selected" {% endif %}> <ul class="navbar">
<a href="{{ get_url(path="/")}}">Home</a> <li {% if current_path == "/" %} class="selected" {% endif %}>
</li> <a href="{{ get_url(path="/")}}">Home</a>
<li {% if current_path == "/plants/" %} class="selected" {% endif %}> </li>
<a href="{{ get_url(path="@/plants/_index.md")}}">Plants</a> <li {% if current_path == "/plants/" %} class="selected" {% endif %}>
</li> <a href="{{ get_url(path="@/plants/_index.md")}}">Plants</a>
</ul> </li>
</ul>
</header>
<section class="main"> <section class="main">
<div class="container"> <div class="container">
{% block content %} {% endblock %} {% block content %} {% endblock %}

Loading…
Cancel
Save