diff options
Diffstat (limited to 'site/layouts/partials/stylesheet.html')
| -rw-r--r-- | site/layouts/partials/stylesheet.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/site/layouts/partials/stylesheet.html b/site/layouts/partials/stylesheet.html index f675d7212..69e75a271 100644 --- a/site/layouts/partials/stylesheet.html +++ b/site/layouts/partials/stylesheet.html @@ -1,5 +1,3 @@ -<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3"> - {{ if hugo.IsProduction -}} {{ if eq .Page.Params.direction "rtl" -}} <link href="/docs/{{ .Site.Params.docs_version }}/dist/css/bootstrap.rtl.min.css" rel="stylesheet" {{ printf "integrity=%q" .Site.Params.cdn.css_rtl_hash | safeHTMLAttr }}> @@ -21,5 +19,5 @@ {{- $style := resources.Get "scss/docs.scss" | toCSS $sassOptions | postCSS $postcssOptions }} -<link href="{{ $style.Permalink | relURL }}" rel="stylesheet"> +<link href="{{ $style.RelPermalink }}" rel="stylesheet"> {{- end }} |
