Feat: move HOME to links

This commit is contained in:
Bertrand Benjamin 2020-06-24 10:33:48 +02:00
parent fa65e4bf7d
commit 51eee75a90
2 changed files with 1 additions and 2 deletions

View File

@ -8,6 +8,7 @@ DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False DISPLAY_CATEGORIES_ON_MENU = False
MENUITEMS = [ MENUITEMS = [
#("Dernières modifications", SITEURL+"blog_index.html"), #("Dernières modifications", SITEURL+"blog_index.html"),
("Accueil", "/"),
("Contenus de cours", "/pages/tout-sur-mes-cours.html"), ("Contenus de cours", "/pages/tout-sur-mes-cours.html"),
('blog', '/blog_index.html'), ('blog', '/blog_index.html'),
('Opytex', "/opytex/"), ('Opytex', "/opytex/"),

View File

@ -126,8 +126,6 @@
<main> <main>
{% if MAIN_MENU %} {% if MAIN_MENU %}
<nav> <nav>
<a href="/">{{ _('Home') }}</a>
{% for title, link in MENUITEMS %} {% for title, link in MENUITEMS %}
<a href="{{ link }}">{{ title }}</a> <a href="{{ link }}">{{ title }}</a>
{% endfor %} {% endfor %}