|
1 | | -{{ with resources.Get "app.min.sass" }} |
2 | | - {{ $opts := dict "transpiler" "libsass" |
3 | | - "outputStyle" "expanded" |
4 | | - "targetPath" "css/app.min.css" }} |
5 | | - {{ with . | toCSS $opts }} |
6 | | - {{ if hugo.IsDevelopment }} |
7 | | - <link rel="stylesheet" href="{{ .RelPermalink }}"> |
8 | | - {{ else }} |
9 | | - {{ with . | minify | fingerprint }} |
10 | | - <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> |
11 | | - {{ end }} |
12 | | - {{ end }} |
13 | | - {{ end }} |
14 | | -{{ end }} |
15 | | - |
16 | | - |
17 | | -<link rel="stylesheet" type="text/css" href="/css/vendor/magnific-popup.css"> |
18 | | -<!-- Custom CSS --> |
19 | | -<link rel="stylesheet" href="/css/custom.css" /> |
20 | | -<link rel="stylesheet" href="/css/vendor/prism.css" /> |
21 | | -<link rel="stylesheet" href="/css/vendor/component.css" /> |
| 1 | +{{- with resources.Get "app.min.sass" }} |
| 2 | + {{- $opts := dict "transpiler" "libsass" |
| 3 | + "outputStyle" "expanded" |
| 4 | + "targetPath" "css/app.min.css" }} |
| 5 | + {{- with . | toCSS $opts }} |
| 6 | + {{- if hugo.IsDevelopment }} |
| 7 | + <link rel="stylesheet" href="{{ .RelPermalink }}"> |
| 8 | + {{- else }} |
| 9 | + {{- with . | minify | fingerprint }} |
| 10 | + <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> |
| 11 | + {{- end }} |
| 12 | + {{- end }} |
| 13 | + {{- end }} |
| 14 | +{{- end }} |
| 15 | + <link rel="stylesheet" type="text/css" href="/css/vendor/magnific-popup.css"> |
| 16 | + <!-- Custom CSS --> |
| 17 | + <link rel="stylesheet" href="/css/custom.css" /> |
| 18 | + <link rel="stylesheet" href="/css/vendor/prism.css" /> |
| 19 | + <link rel="stylesheet" href="/css/vendor/component.css" /> |
0 commit comments