From d1318d147297161691f5048e1f2cb4e516159144 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 14 Nov 2021 17:17:49 +0100 Subject: Add 'hidden' column to titles for beta-testing games. --- views/index.ejs | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'views/index.ejs') diff --git a/views/index.ejs b/views/index.ejs index 0b3180f..1f23381 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,6 +1,6 @@ -<%- include('header', { title: "Rally the Troops!" }) %> +<%- include('header', { title: "Rally the Troops!" }) _%> @@ -13,15 +13,16 @@ players. Registration and use is free, and there are no ads.
- - - - -
- -
- - +<% + for (let t in titles) { + let title = titles[t]; + if (!title.hidden) { +_%> + +<% + } + } +_%>

-- cgit v1.2.3