From f7adb14a25707f6e07780984c6af3f8bfbefd3df Mon Sep 17 00:00:00 2001 From: flohoss Date: Tue, 3 Oct 2023 18:17:06 +0000 Subject: [PATCH] Add option of background --- internal/bookmarks/types.go | 12 +++++++----- web/templates/index.html | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/internal/bookmarks/types.go b/internal/bookmarks/types.go index 6b7b4cc..3e96b21 100644 --- a/internal/bookmarks/types.go +++ b/internal/bookmarks/types.go @@ -5,16 +5,18 @@ type Config struct { Links []struct { Category string Entries []struct { - Name string - URL string + Name string + Background bool + URL string } } Applications []struct { Category string Entries []struct { - Name string - Icon string - URL string + Name string + Icon string + Background bool + URL string } } } diff --git a/web/templates/index.html b/web/templates/index.html index 705ce56..3a17008 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -287,7 +287,7 @@
{{ range .Entries }} -
+
{{ .Name }}
{{ end }}