This commit is contained in:
Alexis Métaireau 2023-09-25 23:37:40 +02:00
parent 521985f8ca
commit 97c3d1ee40
4 changed files with 11 additions and 5 deletions

View file

@ -7,8 +7,7 @@ slug: index
👋 **Bienvenue par ici**. Developpeur et Brasseur, je suis intéressé par les
dynamiques collectives, les libertés numériques et la facilitation.
Si vous souhaitez me contacter, envoyez moi un email sur ``alexis``
@ ``notmyidea.org``.
Pour me contacter, envoyez-moi un email sur ``alexis`` ``@`` ``notmyidea.org``.
---

View file

@ -239,6 +239,7 @@ section.index {
#links li {
display: initial;
list-style-type: none;
white-space: nowrap;
}
# links li:nth-child(1) {
@ -260,11 +261,15 @@ section.index {
color: var(--link-color-menu);
}
#links a.selected {
#links a.main {
color: #fff;
background-color: var(--link-color-menu);
}
#links a.selected {
text-decoration-color: var(--link-color);
}
#links a.selected:hover {
cursor: default;
}

View file

@ -18,6 +18,9 @@
<section id="links">
<ul>
{% for (title, url, selected) in MENU %}
{% if loop.first %}
<li><a class="main" href="/">{{ SITENAME }}</a></li>
{% endif %}
<li><a class="{%
if page_name == selected
or (category and category.name == selected)

View file

@ -31,7 +31,6 @@ CATEGORY_SAVE_AS = "{slug}/index.html"
CATEGORY_URL = "{slug}/"
MENU = [
("Alexis Métaireau", "/", "index"),
("Journal", "/journal/index.html", "journal"),
("Code, etc.", "/code/", "code"),
("Notes hebdo", "/weeknotes/", "weeknotes"),