theme: only copy auto-complete.css once #1040

This commit is contained in:
Sören Weber 2025-02-27 20:26:33 +01:00
parent 7b439a7ac4
commit ec1b461d38
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;"><noscript><link href="{{ .RelPermalink }}{{ $assetBusting }}" rel="stylesheet"></noscript> <link href="{{ (. | minify).RelPermalink }}{{ $assetBusting }}" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;">
{{- 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+6c338233abe6db3cc9d72884193cb14759299ddc 7.4.1+7b439a7ac49509535569689f7996a3328fceebc9