mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
fix: debug msg
This commit is contained in:
1 parent
934246c45b
commit
370dc623ab
1 file changed
+1
-1
@@ -49,7 +49,7 @@
|
||||
{{ $theme_name := (lower site.Params.appearance.color) | default "blue" }}
|
||||
{{ $theme_path := printf "css/themes/%s.css" $theme_name }}
|
||||
{{ if not (fileExists (printf "assets/%s" $theme_path)) }}
|
||||
{{ errorf "The specified color theme `%s.css` was not found in `assets/css/themes/`. Either install your custom color theme in the folder or set the `color` theme value in `params.yaml` to an existing theme such as `blue`." }}
|
||||
{{ errorf "The specified color theme `%s.css` was not found in `assets/css/themes/`. Either install your custom color theme in the folder or set the `color` theme value in `params.yaml` to an existing theme such as `blue`." $theme_name }}
|
||||
{{ else }}
|
||||
{{ $theme_css := resources.Get $theme_path | minify }}
|
||||
<link rel="stylesheet" href="{{ $theme_css.RelPermalink }}" />
|
||||
|
||||
Reference in new issue
Block a user