Skip to content

Commit

Permalink
fix: remove the leading slash from module SCSS path (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang authored Feb 21, 2024
1 parent cd41abf commit 5c58d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/hb/scss/index.tmpl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
// Modules
{{- range resources.Match "hb/modules/*/scss/index.scss" }}
@import "{{ replace . "hb/modules" "../modules" }}";
{{- end }}
@import "{{ replace .Name "hb/modules" "../modules" | strings.TrimPrefix `/` }}";
{{- end }}

0 comments on commit 5c58d40

Please sign in to comment.