commit: 02ba479c043b3171d6d1dab7b8150ae833d94f86
parent 5bde3e0d04e632b1c05c03f906748863a0aae641
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Fri, 28 Jun 2019 10:38:18 +0900
Fixes #21
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/scripts/templates/home.js b/scripts/templates/home.js
@@ -97,6 +97,7 @@ function HomeTemplate (id, rect) {
html += "<ul style='margin-bottom:15px'>"
for (id in recipes) {
let recipe = recipes[id]
+ if(recipe.HIDE){ continue; }
html += `<li><a href="#${recipe.name.to_url()}" onclick="Ø('query').bang('${recipe.name.capitalize()}')">${recipe.name.capitalize()}</a></li>`
}
html += '</ul>'