multilingual: Fix styles.css link when defaultContentLanguageInSubdir = true

Fix #412
This commit is contained in:
George Cushen 2017-12-17 20:08:33 +00:00
commit cf6d923c90

View file

@ -57,7 +57,7 @@
{{ with ($scr.Get "google_fonts") }}
<link rel="stylesheet" href="{{ printf "//fonts.googleapis.com/css?family=%s" . }}">
{{ end }}
<link rel="stylesheet" href="{{ "styles.css" | relURL }}">
<link rel="stylesheet" href="{{ "styles.css" | relLangURL }}">
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ "/css/" | relURL }}{{ . }}">
{{ end }}