From df2a55f82d5efeed8c59c5cf3b4e7381c97959b5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 4 May 2024 12:38:32 +0200 Subject: chore: use prettier with plugin to format go templates --- frontend/templates/index.gotmpl | 29 +++++++++++++++++++++++++++++ frontend/templates/index.tmpl | 24 ------------------------ 2 files changed, 29 insertions(+), 24 deletions(-) create mode 100644 frontend/templates/index.gotmpl delete mode 100644 frontend/templates/index.tmpl (limited to 'frontend/templates') diff --git a/frontend/templates/index.gotmpl b/frontend/templates/index.gotmpl new file mode 100644 index 0000000..511f663 --- /dev/null +++ b/frontend/templates/index.gotmpl @@ -0,0 +1,29 @@ + + + + + + Searchix + + + + +
+

Searchix

+

Search Nix Packages and options from NixOS, Darwin and Home-Manager

+ +
+
+ + +
{{ block "results" . }}{{ end }}
+
+ + {{ .LiveReload }} + + diff --git a/frontend/templates/index.tmpl b/frontend/templates/index.tmpl deleted file mode 100644 index 303d030..0000000 --- a/frontend/templates/index.tmpl +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Searchix - - - - -
-

Searchix

-

Search Nix Packages and options from NixOS, Darwin and Home-Manager

-
-
- -
- - -
-
- {{ .LiveReload }} - - -- cgit 1.4.1