diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-04-05 15:41:38 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-04-05 15:41:38 -0300 |
commit | 17f1220718f0e736723108042fc00cd5cb90070d (patch) | |
tree | 935e5cd02baab0ca20ae9c4e694a4874ce51f6bb /src/misc-templates.js | |
parent | 575fef166cfe915b743d89a2007e259c3fcb4904 (diff) |
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!
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |