Skip to content

Commit af7c276

Browse files
Keep scss separate (#478)
1 parent cc9f9bc commit af7c276

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

assets/theme-css/scientific-python-hugo-theme.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

assets/theme-css/spht/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import "./code";

layouts/partials/css.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+Symbols+2">
2323
2424
<!-- Process and include Sass files. -->
25-
{{- $sass := (resources.Match "theme-css/*.scss") | append (resources.Match "css/*.scss") -}}
25+
{{- $sass := append (resources.Get "theme-css/sphinx-design/index.scss")
26+
(resources.Get "theme-css/pst/pydata-sphinx-theme.scss")
27+
(resources.Get "theme-css/spht/index.scss")
28+
(resources.Match "theme-css/*.scss")
29+
| append (resources.Match "css/*.scss") -}}
2630

2731
{{- range $sass -}}
2832
{{ with . }} <!-- Skips nil elements from appending empty resources.Match slices. -->

0 commit comments

Comments
 (0)