Add query function

This commit is contained in:
Wancat
2022-11-05 00:13:21 +08:00
parent 4ae49b5db6
commit ae86204c84
7 changed files with 56 additions and 32 deletions

View File

@@ -0,0 +1,8 @@
{{ define "scripts" }}
<h3>常用指令</h3>
<ul>
{{ range $k, $v := . }}
<li><a href="/query?query={{ urlquery $v }}">{{ $k }}</a></li>
{{ end }}
</ul>
{{ end }}