mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-28 12:05:06 +03:00
темплейты в бинарнике и улучшенная система кеша
This commit is contained in:
parent
4db018fb7f
commit
1537da9b16
29 changed files with 555 additions and 303 deletions
16
static/html/search.htm
Normal file
16
static/html/search.htm
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{template "head" . }}
|
||||
<main>
|
||||
{{template "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>
|
Loading…
Add table
Add a link
Reference in a new issue