Skip to content

Commit e38cbcf

Browse files
authored
Fix: (css.html) Unify types (#434)
Previously a slice holding a string was being appended to slices of resource.Resources, which could cause an error in the build process. Now resource.Resources are used for all of these files.
1 parent 57e0bf4 commit e38cbcf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

layouts/partials/css.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+Symbols+2">
2323
2424
<!-- Process and include Sass files. -->
25-
{{- $sass := (slice "theme-css/pst/pydata-sphinx-theme.scss")
26-
| append (resources.Match "theme-css/*.scss")
25+
{{- $sass := append (resources.Get "theme-css/pst/pydata-sphinx-theme.scss")
26+
(resources.Match "theme-css/*.scss")
2727
| append (resources.Match "css/*.scss") -}}
2828

2929
{{- range $sass -}}

0 commit comments

Comments
 (0)