diff --git a/pelicanconf.py b/pelicanconf.py index 9404b16..943b3a9 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -13,7 +13,7 @@ BIND = "127.0.0.1" AUTHOR = "Maxime" -SITENAME = "www.mlcdf.fr" +SITENAME = "Maxime Le Conte des Floris" SITEURL = f"http://{BIND}:{PORT}" DESCRIPTION = "Bienvenue sur la page personnelle de Maxime Le Conte des Floris. Le jour, il est artisan logiciel et ingénieur DevOps. La nuit, c'est un photographe en herbe et mordu de cinéma." diff --git a/theme/templates/index.html b/theme/templates/index.html index e3ce509..60642fd 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -1,6 +1,6 @@ {% extends "layout.html" %} -{% block title %} {{SITENAME}} — Artisan logiciel {% endblock %} +{% block title %}Blog — {{SITENAME}}{% endblock %} {% block content %}

Billets

diff --git a/theme/templates/page.html b/theme/templates/page.html index d084b0d..c9dfb64 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -1,12 +1,12 @@ {% extends "layout.html" %} -{% block title %} - {% if page.title != "Accueil" %} +{% block title -%} + {%- if page.title != "Accueil" -%} {{page.title}} — {{ SITENAME }} - {% else %} + {%- else -%} {{ SITENAME }} - {% endif %} -{% endblock %} + {%- endif %} +{%- endblock %} {% block metadata %}