From 17f1220718f0e736723108042fc00cd5cb90070d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 5 Apr 2023 15:41:38 -0300 Subject: html: standard blank() function For now this just returns an empty array, but if we need to make changes later, it won't require editing all instances of blank content! --- src/misc-templates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc-templates.js') diff --git a/src/misc-templates.js b/src/misc-templates.js index 651b6bc..710dbcc 100644 --- a/src/misc-templates.js +++ b/src/misc-templates.js @@ -53,7 +53,7 @@ function unbound_generateChronologyLinks(currentThing, { const contributions = currentThing[contribKey]; if (empty(contributions)) { - return []; + return html.blank(); } if (contributions.length > 8) { -- cgit 1.3.0-6-gf8a5