Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mkdocs DSFR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Numérique et Écologie
Mkdocs DSFR
Commits
c35cc438
Commit
c35cc438
authored
2 years ago
by
alexandre.caldato
Browse files
Options
Downloads
Patches
Plain Diff
ajout de variables de configuration
parent
1ae511e7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dsfr/footer.html
+5
-13
5 additions, 13 deletions
dsfr/footer.html
dsfr/header.html
+3
-3
3 additions, 3 deletions
dsfr/header.html
mkdocs.yml
+17
-0
17 additions, 0 deletions
mkdocs.yml
with
25 additions
and
16 deletions
dsfr/footer.html
+
5
−
13
View file @
c35cc438
...
@@ -4,26 +4,18 @@
...
@@ -4,26 +4,18 @@
<div
class=
"fr-footer__brand fr-enlarge-link"
>
<div
class=
"fr-footer__brand fr-enlarge-link"
>
<a
href=
"/"
title=
"Retour à l'accueil du site - Nom de l'entité (ministère, secrétariat d'état, gouvernement)"
>
<a
href=
"/"
title=
"Retour à l'accueil du site - Nom de l'entité (ministère, secrétariat d'état, gouvernement)"
>
<p
class=
"fr-logo"
>
<p
class=
"fr-logo"
>
Intitulé
{{ config.theme.intitule }}
<br>
officiel
</p>
</p>
</a>
</a>
</div>
</div>
<div
class=
"fr-footer__content"
>
<div
class=
"fr-footer__content"
>
<p
class=
"fr-footer__content-desc"
>
Lorem [...] elit ut.
</p>
<p
class=
"fr-footer__content-desc"
>
{{ config.theme.footer.description }}
</p>
<ul
class=
"fr-footer__content-list"
>
<ul
class=
"fr-footer__content-list"
>
{% for link in config.theme.footer.links %}
<li
class=
"fr-footer__content-item"
>
<li
class=
"fr-footer__content-item"
>
<a
class=
"fr-footer__content-link"
target=
"_blank"
href=
"https://legifrance.gouv.fr"
>
legifrance.gouv.fr
</a>
<a
class=
"fr-footer__content-link"
target=
"_blank"
href=
"{{ link.url }}"
>
{{ link.name }}
</a>
</li>
<li
class=
"fr-footer__content-item"
>
<a
class=
"fr-footer__content-link"
target=
"_blank"
href=
"https://gouvernement.fr"
>
gouvernement.fr
</a>
</li>
<li
class=
"fr-footer__content-item"
>
<a
class=
"fr-footer__content-link"
target=
"_blank"
href=
"https://service-public.fr"
>
service-public.fr
</a>
</li>
<li
class=
"fr-footer__content-item"
>
<a
class=
"fr-footer__content-link"
target=
"_blank"
href=
"https://data.gouv.fr"
>
data.gouv.fr
</a>
</li>
</li>
{% endfor %}
</ul>
</ul>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
dsfr/header.html
+
3
−
3
View file @
c35cc438
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</div>
</div>
<div
class=
"fr-header__navbar"
>
<div
class=
"fr-header__navbar"
>
{% if not config.theme.no_search %}
{% if not config.theme.
header.
no_search %}
<button
class=
"fr-btn--search fr-btn"
data-fr-opened=
"false"
aria-controls=
"modal-541"
id=
"button-542"
title=
"Rechercher"
>
<button
class=
"fr-btn--search fr-btn"
data-fr-opened=
"false"
aria-controls=
"modal-541"
id=
"button-542"
title=
"Rechercher"
>
Rechercher
Rechercher
</button>
</button>
...
@@ -24,10 +24,10 @@
...
@@ -24,10 +24,10 @@
<div
class=
"fr-header__service"
>
<div
class=
"fr-header__service"
>
<a
href=
"/"
title=
"{{ config.theme.titre }}"
>
<a
href=
"/"
title=
"{{ config.theme.titre }}"
>
<p
class=
"fr-header__service-title"
>
<p
class=
"fr-header__service-title"
>
{{ config.theme.titre }}
{{ config.theme.
header.
titre }}
</p>
</p>
</a>
</a>
<p
class=
"fr-header__service-tagline"
>
{{ config.theme.soustitre }}
</p>
<p
class=
"fr-header__service-tagline"
>
{{ config.theme.
header.
soustitre }}
</p>
</div>
</div>
</div>
</div>
<div
class=
"fr-header__tools"
>
<div
class=
"fr-header__tools"
>
...
...
This diff is collapsed.
Click to expand it.
mkdocs.yml
+
17
−
0
View file @
c35cc438
...
@@ -11,6 +11,23 @@ theme:
...
@@ -11,6 +11,23 @@ theme:
locale
:
fr
locale
:
fr
custom_dir
:
'
dsfr/'
custom_dir
:
'
dsfr/'
menulateral
:
true
menulateral
:
true
intitule
:
"
Intitulé"
header
:
titre
:
"
Titre"
soustitre
:
"
Sous-titre"
no_search
:
true
footer
:
description
:
"
Description
à
modifier"
links
:
-
name
:
legifrance.gouv.fr
url
:
https://legifrance.gouv.fr
-
name
:
gouvernement.fr
url
:
https://gouvernement.fr
-
name
:
service-public.fr
url
:
https://service-public.fr
-
name
:
data.gouv.fr
url
:
https://data.gouv.fr
nav
:
nav
:
-
Home
:
index.md
-
Home
:
index.md
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment