Merge pull request #34 from Jiogo18/main
fix: Local Theme Variables `color` error
This commit is contained in:
@@ -56,7 +56,7 @@ re-Terminal before v2.1.0 may work with versions of HUGO less than v0.128.0 belo
|
||||
|
||||
## Features
|
||||
|
||||
- **5 duotone themes**, depending on your preferences (orange is default, red, blue, green, pink)
|
||||
- **5 duotone themes**, depending on your preferences (blue is default, red, orange, green, pink)
|
||||
- [**Fira Code**](https://github.com/tonsky/FiraCode) as default monospaced font. It's gorgeous!
|
||||
- **really nice duotone**, custom syntax highlighting based on [**PrismJS**](https://prismjs.com)
|
||||
- fully responsive
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{{ if and (isset .Params "color") (not (eq .Params.color "")) }}
|
||||
{{ $localColorCss := resources.Get (printf "css/color/%s.scss" .Params.color) }}
|
||||
{{ $localCss := slice $localColorCss $defaultStyles | resources.Concat (printf "css/%s-local.scss" .Params.color) }}
|
||||
{{ $options := dict ("transpiler" "libsass") }}
|
||||
{{ $options := (dict "transpiler" "libsass") }}
|
||||
{{ $localColorStyles := $localCss | css.Sass $options }}
|
||||
<link rel="stylesheet" href="{{ $localColorStyles.Permalink }}">
|
||||
{{ else }}
|
||||
|
||||
Reference in New Issue
Block a user