taggart

Simple golang tagging filesystem webapp
Log | Files | Refs

search.html (413B)


      1 {{template "_header" .}}
      2 <h1>Search Files</h1>
      3 
      4 {{if .Files}}
      5 
      6 <h2>Found {{len .Files}} file{{if ne (len .Files) 1}}s{{end}}</h2>
      7 <div class="gallery">
      8     {{range .Files}}
      9     {{template "_gallery" .}}
     10     {{end}}
     11 </div>
     12 
     13 {{else if .Query}}
     14 <p>No files found matching "<strong>{{.Query}}</strong>"</p>
     15 <p>Try using wildcards like <code>*{{.Query}}*</code> for broader results.</p>
     16 {{end}}
     17 
     18 {{template "_footer"}}