aboutsummaryrefslogtreecommitdiff
path: root/cmd/sklad/search.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sklad/search.tmpl')
-rw-r--r--cmd/sklad/search.tmpl30
1 files changed, 15 insertions, 15 deletions
diff --git a/cmd/sklad/search.tmpl b/cmd/sklad/search.tmpl
index 9fef455..0c58bf9 100644
--- a/cmd/sklad/search.tmpl
+++ b/cmd/sklad/search.tmpl
@@ -1,16 +1,16 @@
{{ define "Title" }}„{{ .Query }}“ — Vyhledávání{{ end }}
{{ define "Content" }}
-<h2>Vyhledávání: &bdquo;{{ .Query }}&ldquo;<h2>
+<h2>Vyhledávání: &bdquo;{{ .Query }}&ldquo;</h2>
<h3>Řady</h3>
{{ range .Series }}
<section>
-<header>
- <h3><a href="series?prefix={{ .Prefix }}">{{ .Prefix }}</a></h3>
- <p>{{ .Description }}
-</header>
+ <header>
+ <h3><a href="series?prefix={{ .Prefix }}">{{ .Prefix }}</a></h3>
+ <p>{{ .Description }}
+ </header>
</section>
{{ else }}
<p>Neodpovídají žádné řady.
@@ -20,16 +20,16 @@
{{ range .Containers }}
<section>
-<header>
- <h3><a href="container?id={{ .Id }}">{{ .Id }}</a>
-{{ range .Path }}
- <small>&laquo; <a href="container?id={{ . }}">{{ . }}</a></small>
-{{ end }}
- </h3>
-</header>
-{{ if .Description }}
-<p>{{ .Description }}
-{{ end }}
+ <header>
+ <h3><a href="container?id={{ .Id }}">{{ .Id }}</a>
+ {{- range .Path }}
+ <small>&laquo; <a href="container?id={{ . }}">{{ . }}</a></small>
+ {{- end }}
+ </h3>
+ </header>
+ {{- if .Description }}
+ <p>{{ .Description }}
+ {{- end }}
</section>
{{ else }}
<p>Neodpovídají žádné obaly.