diff --git a/config.yaml b/config.yaml index e0122b0771787398349da8ba7c352ed6e57cf478..40f85b0f76be2d66261693744f0e66af41d00464 100644 --- a/config.yaml +++ b/config.yaml @@ -87,7 +87,7 @@ languages: languageName: Français menu: main: - - name: Développer + - name: Développement url: https://develop.kde.org weight: 2 - name: Soyez impliqués diff --git a/content/_index.md b/content/_index.md index 16cbe531012e4fbc8fca134202737502457aac4b..153eed18b080d7c6b80822224df65390ad083b70 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,6 +1,4 @@ --- images: - /thumbnail.png -sassFiles: -- sass/index.scss --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000000000000000000000000000000000000..edb64a7235335ae8fe1fc4d6d7b5bfa8d2d0a8e6 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,23 @@ + + + + {{- partial "head.html" . -}} + + {{ if .IsHome }} + {{ $style := resources.Get "sass/index.scss" | toCSS | minify | fingerprint }} + + {{ else }} + {{ range .Params.sassFiles }} + {{ $style := resources.Get . | toCSS | minify | fingerprint }} + + {{ end }} + {{ end }} + + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/translations.py b/translations.py index 3e76e12479bf090da0f4db921feef74e87186ea3..f1c2d63b882b8c11d0e73dc97adf1deb04cc01a4 100644 --- a/translations.py +++ b/translations.py @@ -40,7 +40,6 @@ def webpage_list() -> tp.Dict[str, tp.List[str]]: 'promo': [ 'content/announcements/_index.md', 'content/products.md', - 'content/_index.md', 'content/distributions.md', 'content/community/donations/_index.md', 'content/plasma-desktop.md',