Browse Source

Feat: move HOME to links

master
Bertrand Benjamin 3 months ago
parent
commit
ebd73f39f5
2 changed files with 1 additions and 2 deletions
  1. +1
    -0
      globalconf.py
  2. +0
    -2
      theme/templates/base.html

+ 1
- 0
globalconf.py View File

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

+ 0
- 2
theme/templates/base.html View File

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

Loading…
Cancel
Save