Commit dcd73f3d authored by Phu Nguyen's avatar Phu Nguyen

Fix issue with 0d8f628b

parent cb858b33
......@@ -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
......
---
images:
- /thumbnail.png
sassFiles:
- sass/index.scss
---
<!DOCTYPE html>
<html lang="{{ .Lang }}" itemscope itemtype="http://schema.org/WebPage">
<head>
{{- partial "head.html" . -}}
{{ if .IsHome }}
{{ $style := resources.Get "sass/index.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ else }}
{{ range .Params.sassFiles }}
{{ $style := resources.Get . | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ end }}
{{ end }}
</head>
<body>
{{- partial "header.html" . -}}
<div id="main">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>
......@@ -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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment