-
Huste, Tobias authored
When there is a file starting with de, the configuration defaulted the lang value to de. This way, the multilingual implementation breaks. This is fixed by properly specifying the path with a slash in the end.
Huste, Tobias authoredWhen there is a file starting with de, the configuration defaulted the lang value to de. This way, the multilingual implementation breaks. This is fixed by properly specifying the path with a slash in the end.
_config.yml 2.63 KiB
# Global website configuration
baseurl: ""
url: https://www.hifis.net
title: "HIFIS"
# Encoding needs to be UTF-8.
encoding: utf-8
# Directory paths
directory:
css: /assets/css/
images: /assets/img/
large_images: /assets/img/jumbotrons/
javascript: /assets/js/
vendor: /assets/vendor/
videos: /assets/videos/
languages: ["en", "de"]
# Defaults
default:
title_image: hifis_page_title_background.svg
lang: en
defaults:
-
scope:
path: "assets"
values:
sitemap: false
-
scope:
path: ""
type: "events"
values:
author: "HIFIS"
-
scope:
path: ""
type: "posts"
values:
author: "HIFIS"
-
scope:
path: ""
values:
lang: "en"
-
scope:
path: "de/"
values:
lang: "de"
hidden: true
gitlab:
project_url: https://gitlab.hzdr.de/hifis/hifis.net
contact_mail: support@hifis.net
helpdesk: support.hifis.net
sass:
load_paths:
- _sass
- _sass/team_card
style: compressed
include:
- assets/vendor/jquery/dist/jquery.min.js