From b10b23a47bb822bc3eee671d24fd954ec8d74a7d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 01 Aug 2022 01:02:06 +0000
Subject: [PATCH] docs: add documentation for Operand Search, remove debounce
---
layouts/partials/head.html | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 60db998..acc2efd 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -40,10 +40,13 @@
<link href="{{$lightSyntax.Permalink}}" rel="stylesheet" id="theme-link">
<!-- Base scripts -->
- {{ $darkMode := resources.Get "js/darkmode.js" | resources.ExecuteAsTemplate "js/darkmode.js" . | resources.Fingerprint "md5" | resources.Minify }}
- <script src="{{$darkMode.Permalink}}"></script>
+ {{$scripts := (slice "js/darkmode.js" "js/util.js")}}
+ {{range $scripts}}
+ {{$scriptname := .}}
+ {{ $s := resources.Get $scriptname | resources.ExecuteAsTemplate $scriptname . | resources.Fingerprint "md5" | resources.Minify }}
+ <script src="{{$s.Permalink}}"></script>
+ {{end}}
{{partial "katex.html" .}}
-
<script src="https://unpkg.com/@floating-ui/core@0.7.3"></script>
<script src="https://unpkg.com/@floating-ui/dom@0.5.4"></script>
--
Gitblit v1.10.0