Feat: move HOME to links
This commit is contained in:
parent
1fe7d8c176
commit
ebd73f39f5
@ -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/"),
|
||||||
|
@ -94,8 +94,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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user