Files
landing_page/qdrant-landing/themes/qdrant-2024/layouts/partials/css.html
T
Andrey Vasnetsov 74a82aa280 learn page (#1863)
* learn page wip

* learn page wip

* wip: learning page
2025-10-22 14:21:40 +02:00

42 lines
2.0 KiB
HTML

{{ $opts := dict "transpiler" "dartsass" "includePaths" (slice "node_modules") }}
{{ if .IsHome }}
<!--splide.js carousel core styles-->
{{ $splideCss := resources.Get "css/vendor/splide.scss" | toCSS $opts | minify | resources.Fingerprint "sha512" }}
<link href="{{ $splideCss.RelPermalink }}" rel="stylesheet" integrity="{{ $splideCss.Data.Integrity }}" />
{{ end }}
{{ if in (slice "blog" "docs" "documentation" "articles" "course" "learn") .Section }}
{{ $pageSearchCss := resources.Get "css/search/search.scss" | toCSS $opts | minify | resources.Fingerprint "sha512" }}
<link href="{{ $pageSearchCss.RelPermalink }}" rel="stylesheet" integrity="{{ $pageSearchCss.Data.Integrity }}" />
{{ end }}
{{ if eq .Section "hybrid-cloud" }}
{{ $hybridCloudCss := resources.Get "css/hybrid-cloud.scss" | toCSS $opts | minify | resources.Fingerprint "sha512" }}
<link
href="{{ $hybridCloudCss.RelPermalink }}"
rel="stylesheet"
integrity="{{ .Data.Integrity }}"
crossorigin="anonymous"
/>
{{ end }}
{{ if in (slice "docs" "documentation" "articles" "course" "learn") .Section }}
{{ $documentationCss := resources.Get "css/documentation.scss" | toCSS $opts | minify | resources.Fingerprint "sha512" }}
<link
href="{{ $documentationCss.RelPermalink }}"
rel="stylesheet"
integrity="{{ $documentationCss.Data.Integrity }}"
/>
{{ end }}
{{ if eq .Section "benchmarks" }}
{{ $benchmarksCss := resources.Get "css/benchmarks.scss" | toCSS $opts | minify | resources.Fingerprint "sha512" }}
<link href="{{ $benchmarksCss.RelPermalink }}" rel="stylesheet" integrity="{{ $benchmarksCss.Data.Integrity }}" />
{{ end }}
{{ if not (in (slice "hybrid-cloud" "docs" "documentation" "course" "learn" "benchmarks") .Section) }}
{{ $mainCss := resources.Get "css/main.scss" | toCSS $opts | minify | resources.Fingerprint "sha512" }}
<link href="{{ $mainCss.RelPermalink }}" rel="stylesheet" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" />
{{ end }}