aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docs/configuration.md1
-rw-r--r--public/assets/config.yml.dist1
-rw-r--r--src/App.vue3
3 files changed, 4 insertions, 1 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 84a7ea7..bb41948 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -127,6 +127,7 @@ services:
127 # icon: "fab fa-jenkins" 127 # icon: "fab fa-jenkins"
128 subtitle: "Bookmark example" 128 subtitle: "Bookmark example"
129 tag: "app" 129 tag: "app"
130 keywords: "self hosted reddit" # optional keyword used for searching purpose
130 url: "https://www.reddit.com/r/selfhosted/" 131 url: "https://www.reddit.com/r/selfhosted/"
131 target: "_blank" # optional html tag target attribute 132 target: "_blank" # optional html tag target attribute
132 - name: "Another one" 133 - name: "Another one"
diff --git a/public/assets/config.yml.dist b/public/assets/config.yml.dist
index 03a8682..bbfd0af 100644
--- a/public/assets/config.yml.dist
+++ b/public/assets/config.yml.dist
@@ -75,6 +75,7 @@ services:
75 logo: "assets/tools/sample.png" 75 logo: "assets/tools/sample.png"
76 subtitle: "Bookmark example" 76 subtitle: "Bookmark example"
77 tag: "app" 77 tag: "app"
78 keywords: "self hosted reddit"
78 url: "https://www.reddit.com/r/selfhosted/" 79 url: "https://www.reddit.com/r/selfhosted/"
79 target: "_blank" # optional html a tag target attribute 80 target: "_blank" # optional html a tag target attribute
80 - name: "Another one" 81 - name: "Another one"
diff --git a/src/App.vue b/src/App.vue
index 515177e..c58fca1 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -264,7 +264,8 @@ export default {
264 return ( 264 return (
265 item.name.toLowerCase().includes(this.filter) || 265 item.name.toLowerCase().includes(this.filter) ||
266 (item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) || 266 (item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) ||
267 (item.tag && item.tag.toLowerCase().includes(this.filter)) 267 (item.tag && item.tag.toLowerCase().includes(this.filter)) ||
268 (item.keywords && item.keywords.toLowerCase().includes(this.filter))
268 ); 269 );
269 }, 270 },
270 navigateToFirstService: function (target) { 271 navigateToFirstService: function (target) {