summaryrefslogtreecommitdiff
path: root/html/search.htm
diff options
context:
space:
mode:
authorlost+skunk <[email protected]>2024-08-13 15:59:52 +0300
committerlost+skunk <[email protected]>2024-08-13 15:59:52 +0300
commit1537da9b16dfda1ecb2730b5d1de3b9005397618 (patch)
tree0cce5db0cb6393d369b7f8207d495645510276f2 /html/search.htm
parent4db018fb7f01669cb5e4c1da4b56ccfe3dbadd6f (diff)
downloadskunky-art-1537da9b16dfda1ecb2730b5d1de3b9005397618.tar.gz
skunky-art-1537da9b16dfda1ecb2730b5d1de3b9005397618.tar.bz2
skunky-art-1537da9b16dfda1ecb2730b5d1de3b9005397618.zip
темплейты в бинарнике и улучшенная система кеша
Diffstat (limited to 'html/search.htm')
-rw-r--r--html/search.htm30
1 files changed, 0 insertions, 30 deletions
diff --git a/html/search.htm b/html/search.htm
deleted file mode 100644
index df1cf85..0000000
--- a/html/search.htm
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>SkunkyArt | Search "{{.QueryRaw}}"</title>
- <link rel="stylesheet" href="{{.BasePath}}stylesheet">
- <link rel="icon" type="image/x-icon" href="{{.BasePath}}favicon.ico">
- </head>
- <main>
- <header>
- <h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a></h1>
- <form method="get" action="search">
- <input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
- <select name="type">
- <option value="all">All</option>
- <option value="tag">Tag</option>
- <option value="r">Groups</option>
- </select>
- <button type="submit">Search!</button>
- </form>
- </header>
- {{if ne .Templates.Search.List ""}}
- {{if ne .Templates.Search.Content.Total 0}}
- <h1>Results by request '{{.QueryRaw}}': {{.Templates.Search.Content.Total}}</h1>
- {{end}}
- {{.Templates.Search.List}}
- {{else}}
- <p>No results :(</p>
- {{end}}
- </main>
-</html> \ No newline at end of file