mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-23 18:10:52 +02:00
fix: debug msg
This commit is contained in:
parent
934246c45b
commit
370dc623ab
1 changed files with 1 additions and 1 deletions
|
@ -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 }}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue