commit: ba6f16a696c0b241751ed8ffba76cabf440e1b6e
parent 5f89a2c5b8f4b0ed6a9f7940e0b877988b24bc3d
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>'