From 05e61978906a08132c4340a5f9ae518134dd0fa9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 17 May 2024 14:06:06 +0200 Subject: feat: support searching packages --- frontend/templates/blocks/packages.gotmpl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 frontend/templates/blocks/packages.gotmpl (limited to 'frontend/templates/blocks/packages.gotmpl') diff --git a/frontend/templates/blocks/packages.gotmpl b/frontend/templates/blocks/packages.gotmpl new file mode 100644 index 0000000..68f9246 --- /dev/null +++ b/frontend/templates/blocks/packages.gotmpl @@ -0,0 +1,26 @@ +{{- define "hits" }} + {{- range . }} + {{- with .Data }} +
+ +

+ {{ .Name }} +

+
+ {{ .Description }} +
+ {{- with .Version }} +
Version
+
{{ . }}
+ {{- end }} + {{- with .Definition }} +
Defined
+
+ Source +
+ {{- end }} +
+
+ {{- end }} + {{- end }} +{{- end }} -- cgit 1.4.1