From cf21510ca3c18d650c7846707d145393cb260246 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 17 Sep 2023 12:53:59 +0200 Subject: Tweak title globals. --- views/create-index.pug | 2 +- views/create.pug | 2 +- views/index.pug | 2 +- views/info.pug | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/create-index.pug b/views/create-index.pug index 6c45961..d038810 100644 --- a/views/create-index.pug +++ b/views/create-index.pug @@ -10,7 +10,7 @@ html h1 Create a new game ul - each title in titles + each title in TITLE_LIST unless title.is_hidden li a(href="/create/"+title.title_id)= title.title_name diff --git a/views/create.pug b/views/create.pug index c8c70b2..32fa01b 100644 --- a/views/create.pug +++ b/views/create.pug @@ -23,7 +23,7 @@ html option(value=scenario)= scenario else input(type="hidden" name="scenario" value=scenarios[0]) - | !{ create_html } + | !{ title.create_html } p Notice: br diff --git a/views/index.pug b/views/index.pug index 8e399a7..190018b 100644 --- a/views/index.pug +++ b/views/index.pug @@ -39,7 +39,7 @@ html p Registration and use is free, and there are no ads. div.list - each title in titles + each title in TITLE_LIST unless title.is_hidden div.item div.i diff --git a/views/info.pug b/views/info.pug index 51fc81d..369cf8a 100644 --- a/views/info.pug +++ b/views/info.pug @@ -15,7 +15,7 @@ html div.logo +gamecover(title.title_id) - | !{ about_html } + | !{ title.about_html } p Read more about the game on #[a(href="https://boardgamegeek.com/boardgame/"+title.bgg) boardgamegeek.com]. -- cgit v1.2.3