diff --git a/layouts/partials/_relearn/themeVariants.gotmpl b/layouts/partials/_relearn/themeVariants.gotmpl index c8ed0f0b86..b3166fcc8b 100644 --- a/layouts/partials/_relearn/themeVariants.gotmpl +++ b/layouts/partials/_relearn/themeVariants.gotmpl @@ -234,7 +234,7 @@ Write yet non-dynamic stuff {{- $themevariant := .themevariant }} {{- $identifier := .identifier }} {{- $themecontent := "" }} - {{- with resources.Get (printf "css/theme-%s.css" $identifier) }} + {{- with resources.Get (printf "/css/theme-%s.css" $identifier) }} {{- $themecontent = replaceRE `([ \t]*)(:root)` "${1}&${2}" .Content }} {{- else }} {{- errorf "\"theme-%s.css\": file not found in \"assets/css\"; if you are migrating from a theme version older thant 6.0.0, you have to move it over from \"static/css\"" $identifier }} @@ -256,7 +256,7 @@ Write yet non-dynamic stuff {{- $themecontent = replaceRE `(&\s*)+:root` "&:root" $tempthemecontent }} {{- range findRESubmatch `[ \t]*--CODE-theme\s*:\s*([^;]*?)\s*;` $themecontent }} {{- $chroma = index . 1 }} - {{- $cssres := resources.Get (printf "css/chroma-%s.css" $chroma) }} + {{- $cssres := resources.Get (printf "/css/chroma-%s.css" $chroma) }} {{- if not $cssres }} {{- errorf "\"chroma-%s.css\": file not found in \"assets/css\"; if you are migrating from a theme version older thant 6.0.0, you have to move it over from \"static/css\"" $chroma }} {{- end }} @@ -264,7 +264,7 @@ Write yet non-dynamic stuff {{- end }} {{- if not $chroma }} {{- $chroma = "relearn-light" }} - {{- $cssres := resources.Get (printf "css/chroma-%s.css" $chroma) }} + {{- $cssres := resources.Get (printf "/css/chroma-%s.css" $chroma) }} {{- if not $cssres }} {{- errorf "\"chroma-%s.css\": file not found in \"assets/css\"; if you are migrating from a theme version older thant 6.0.0, you have to move it over from \"static/css\"" $chroma }} {{- end }} diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index e20fbee8d4..9abde969c1 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.4.1+f3cdaabd291fa40d6b5179a64dd3012975866c74 \ No newline at end of file +7.4.1+521de1e32e5e1028825729e00e85cc56e078c02a \ No newline at end of file