-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.tmpl
34 lines (31 loc) · 947 Bytes
/
search.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{{- define "sonic_theme_syria/search" -}}
<!DOCTYPE html>
<html lang="zh">
<head>
<title>搜索 - {{ .blog_title }}</title>
{{ template "sonic_theme_syria/module/head" .}}
</head>
<body>
{{ template "sonic_theme_syria/module/header" .}}
<main class="wrapper">
<content>
<header class="header">
<h1 class="header-title">搜索</h1>
</header>
<div class="post-content markdown-body">
{{ .Content }}
<div id="search">
<form class="search">
<input type="text" id="searchTerm" name="searchTerm" autocomplete="off" oninput="initiateSearch()">
</form>
<div id="resultsContainer">
<p class="hint">请输入关键词进行搜索...</p>
</div>
</div>
</div>
</content>
</main>
{{ template "sonic_theme_syria/module/footer" .}}
</body>
</html>
{{- end -}}