theme: only copy auto-complete.css once II #1040
Some checks are pending
docs-build-deployment / Run deploy (push) Waiting to run
docs-build / Run build (push) Waiting to run

This commit is contained in:
Sören Weber 2025-02-27 20:30:42 +01:00
parent ec1b461d38
commit 8f55271c77
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@
<link href="{{(printf "css/format-%s%s.css" $outputFormat $min) | relURL}}{{ $assetBusting }}" rel="stylesheet" id="R-format-style"> <link href="{{(printf "css/format-%s%s.css" $outputFormat $min) | relURL}}{{ $assetBusting }}" rel="stylesheet" id="R-format-style">
{{- if not .Site.Params.disableSearch }} {{- if not .Site.Params.disableSearch }}
{{- with resources.Get "/css/auto-complete/auto-complete.css" }} {{- with resources.Get "/css/auto-complete/auto-complete.css" }}
<link href="{{ (. | minify).RelPermalink }}{{ $assetBusting }}" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"> <link href="{{ (. | minify).RelPermalink }}{{ $assetBusting }}" rel="stylesheet">
{{- end }} {{- end }}
{{- with resources.Get "/js/auto-complete/auto-complete.js" }} {{- with resources.Get "/js/auto-complete/auto-complete.js" }}
<script src="{{ (. | minify).RelPermalink }}{{ $assetBusting }}" defer></script> <script src="{{ (. | minify).RelPermalink }}{{ $assetBusting }}" defer></script>

View file

@ -1 +1 @@
7.4.1+7b439a7ac49509535569689f7996a3328fceebc9 7.4.1+ec1b461d3886edd1383ec154518b970e72ca3f08