feat: add navigation items
This commit is contained in:
parent
59ef51d6c6
commit
9dc3ddeec7
5 changed files with 26 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<header class="navbar">
|
||||
<nav class="wrapper flex items-center">
|
||||
<header class="[ navbar ]">
|
||||
<nav class="[ wrapper flex items-center justify-between ]">
|
||||
<div class="[ flex items-center ] [ site-logo ]">
|
||||
<a class="[ flex items-center justify-center ] [ logo ]" href="#">
|
||||
<img src="/assets/images/logo.svg" width="32" height="32" alt="" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<ul>
|
||||
<ul class="[ flex ] [ links ]">
|
||||
{% for item in navigation.top %}
|
||||
<li>
|
||||
<a class="nav" href="{{ item.url }}" {{ helpers.getLinkActiveState(item.url, page.url) | safe }}>{{ item.text }}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue