4
4
{{ $css4 := resources.Get "css/f5-hugo.css" }}
5
5
{{ $css5 := resources.Get "css/highlight.css" }}
6
6
{{ $css6 := resources.Get "css/coveo.css" }}
7
+ {{ $css7 := resources.Get "css/v2/style.css" }}
8
+
9
+ <!-- load v2 theme assets -->
10
+ < link href ="{{ $css7.RelPermalink }} " integrity ="{{ $css7.Data.Integrity }} " rel ="stylesheet " type ="text/css " id ="css7 "
11
+ disabled >
7
12
8
13
<!-- load FontAwesome from assets -->
9
14
{{ $cssFA1 := resources.Get "fontawesome/css/all.min.css" | fingerprint "sha512" }}
10
- < link href ="{{ $cssFA1.RelPermalink }} " integrity ="{{ $cssFA1.Data.Integrity }} " rel ="stylesheet " type ="text/css ">
15
+ < link href ="{{ $cssFA1.RelPermalink }} " integrity ="{{ $cssFA1.Data.Integrity }} " rel ="stylesheet " type ="text/css "
16
+ id ="cssFA1 ">
11
17
12
18
{{ $cssFA2 := resources.Get "fontawesome/css/v4-font-face.min.css" | fingerprint "sha512" }}
13
- < link href ="{{ $cssFA2.RelPermalink }} " integrity ="{{ $cssFA2.Data.Integrity }} " rel ="stylesheet " type ="text/css ">
19
+ < link href ="{{ $cssFA2.RelPermalink }} " integrity ="{{ $cssFA2.Data.Integrity }} " rel ="stylesheet " type ="text/css "
20
+ id ="cssFA2 ">
14
21
15
22
{{ $cssFA3 := resources.Get "fontawesome/css/v5-font-face.min.css" | fingerprint "sha512" }}
16
- < link href ="{{ $cssFA3.RelPermalink }} " integrity ="{{ $cssFA3.Data.Integrity }} " rel ="stylesheet " type ="text/css ">
23
+ < link href ="{{ $cssFA3.RelPermalink }} " integrity ="{{ $cssFA3.Data.Integrity }} " rel ="stylesheet " type ="text/css "
24
+ id ="cssFA3 ">
17
25
18
- <!-- load Bootstrap from local assets -->
26
+ <!-- load Bootstrap from local assets -->
19
27
{{ $cssBootstrap := resources.Get "css/bootstrap.min.css" | fingerprint "sha512" }}
20
- < link href ="{{ $cssBootstrap.RelPermalink }} " integrity ="{{ $cssBootstrap.Data.Integrity }} " rel ="stylesheet " type ="text/css ">
28
+ < link href ="{{ $cssBootstrap.RelPermalink }} " integrity ="{{ $cssBootstrap.Data.Integrity }} " rel ="stylesheet "
29
+ type ="text/css " id ="cssBootstrap ">
21
30
22
31
{{ if ( not ( in .Site.Params.buildtype "package" ) ) }}
23
32
<!-- load Coveo CSS -->
24
- < link rel ="stylesheet " href ="https://static.cloud.coveo.com/searchui/v2.10104/0/css/CoveoFullSearch.min.css " integrity ="sha512-9/A9yVCU4GS6/iIwTRJKnan4Hf8gDKj3anwItN9QCsU8SixaT5xkjjWsZ/iq0TWaizhtqOLacadXJfxHlwYCcA== " crossorigin ="anonymous " /> {{ end }}
33
+ < link rel ="stylesheet " href ="https://static.cloud.coveo.com/searchui/v2.10104/0/css/CoveoFullSearch.min.css "
34
+ integrity ="sha512-9/A9yVCU4GS6/iIwTRJKnan4Hf8gDKj3anwItN9QCsU8SixaT5xkjjWsZ/iq0TWaizhtqOLacadXJfxHlwYCcA== "
35
+ crossorigin ="anonymous " /> {{ end }}
25
36
26
37
{{ $cssHeader := $css1 | minify | fingerprint "sha512"}}
27
- < link href ="{{ $cssHeader.RelPermalink }} " rel ="stylesheet " type ="text/css ">
38
+ < link href ="{{ $cssHeader.RelPermalink }} " rel ="stylesheet " type ="text/css " id =" css1 " >
28
39
29
40
{{ $cssNginxStyles := $css2 | minify | fingerprint "sha512"}}
30
- < link href ="{{ $cssNginxStyles.RelPermalink }} " rel ="stylesheet " type ="text/css ">
41
+ < link href ="{{ $cssNginxStyles.RelPermalink }} " rel ="stylesheet " type ="text/css " id =" css2 " >
31
42
32
43
{{ $bootstrapDocs := $css3 | minify | fingerprint "sha512"}}
33
- < link href ="{{ $bootstrapDocs.RelPermalink }} " rel ="stylesheet " type ="text/css ">
44
+ < link href ="{{ $bootstrapDocs.RelPermalink }} " rel ="stylesheet " type ="text/css " id =" css3 " >
34
45
35
46
{{ if ( not ( in .Site.Params.buildtype "package" ) ) }}
36
47
{{ $cssCoveo := $css6 | minify | fingerprint "sha512"}}
37
- < link href ="{{ $cssCoveo.RelPermalink }} " rel ="stylesheet " type ="text/css ">
48
+ < link href ="{{ $cssCoveo.RelPermalink }} " rel ="stylesheet " type ="text/css " id =" css6 " >
38
49
{{ end }}
39
50
40
51
{{ $cssF5Hugo := $css4 | minify | fingerprint "sha512"}}
41
- < link href ="{{ $cssF5Hugo.RelPermalink }} " rel ="stylesheet " type ="text/css ">
52
+ < link href ="{{ $cssF5Hugo.RelPermalink }} " rel ="stylesheet " type ="text/css " id =" css4 " >
42
53
43
54
{{ if fileExists "assets/css/custom.css" }}
44
- {{ $customCSS := resources.Get "css/custom.css" | minify | fingerprint "sha512" }}
45
- < link href ="{{ $customCSS.RelPermalink }} " rel ="stylesheet " type ="text/css ">
55
+ {{ $customCSS := resources.Get "css/custom.css" | minify | fingerprint "sha512" }}
56
+ < link href ="{{ $customCSS.RelPermalink }} " rel ="stylesheet " type ="text/css ">
46
57
{{ end }}
47
58
48
59
<!-- load Highlight CSS -->
49
60
{{ $cssHighlight := $css5 | minify | fingerprint "sha512"}}
50
- < link href ="{{ $cssHighlight.RelPermalink }} " rel ="stylesheet " type ="text/css ">
61
+ < link href ="{{ $cssHighlight.RelPermalink }} " rel ="stylesheet " type ="text/css " id =" css5 " >
0 commit comments