small.html.tpl 229 B

12345678910111213
  1. {{define "small"}}
  2. {{if .data}}
  3. {{if .data | isSlice}}
  4. {{range $el := .data}}
  5. <small>{{$el|string}}</small>
  6. {{end}}
  7. {{else}}
  8. <small>{{.data|string}}</small>
  9. {{end}}
  10. {{else}}
  11. <small>{{.options.noElements}}</small>
  12. {{end}}
  13. {{end}}