Skip to content

Commit

Permalink
Merge branch 'main' into indexation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow authored Jan 17, 2024
2 parents d04368f + b93bc70 commit a49ad70
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@

.cmsfr-hero-dark h1, .cmsfr-hero-dark p {
color: white; }

.fr-header__service-title em {
font-weight: lighter; }
3 changes: 3 additions & 0 deletions static/css/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@
.cmsfr-hero-dark
& h1, p
color: white

.fr-header__service-title em
font-weight: lighter
9 changes: 8 additions & 1 deletion templates/blocks/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
{% block service_title %}
<a href="/"
title="Accueil — {{ settings.content_manager.CmsDsfrConfig.site_title }}">
<p class="fr-header__service-title">{{ settings.content_manager.CmsDsfrConfig.site_title }}</p>

<p class="fr-header__service-title">
{% if settings.content_manager.CmsDsfrConfig.site_title|slice:"-2:" == "fr" %}
{{ settings.content_manager.CmsDsfrConfig.site_title|slice:":-2" }}<em>fr</em>
{% else %}
{{ settings.content_manager.CmsDsfrConfig.site_title }}
{% endif %}
</p>
</a>

{% endblock service_title %}
Expand Down

0 comments on commit a49ad70

Please sign in to comment.