mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-05 01:47:25 +00:00
menu: add Home
This commit is contained in:
parent
efdecd7f57
commit
907eb193ef
7 changed files with 11 additions and 0 deletions
|
|
@ -21,6 +21,11 @@
|
|||
|
||||
<nav class="navbar">
|
||||
<ul class="nav-links">
|
||||
<li class="{% if indexPage === true %} active {% endif %}">
|
||||
<a href="{{ '/' | locale_url }}" >
|
||||
{{ translations[page.lang]['menu']['home'] }}
|
||||
</a>
|
||||
</li>
|
||||
{% set items = config.menu %}
|
||||
{%- for item in items %}
|
||||
{% set isCurrent = page.url.startsWith('/' ~ page.lang ~ '/' ~ item) %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue