diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-04-08 16:54:39 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-04-08 16:54:39 -0300 |
commit | 776abf8d697716902692f357c6f179c1e681369f (patch) | |
tree | a75e7f63ffc13121c3c08f1f78c10bc883b4d4e1 /test/snapshot | |
parent | 0cbfa8c1b70080c7ec4eb352902cf76f8ef30fcf (diff) |
html: drastically simplify template/slot system
Diffstat (limited to 'test/snapshot')
-rw-r--r-- | test/snapshot/generateAdditionalFilesList.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/snapshot/generateAdditionalFilesList.js b/test/snapshot/generateAdditionalFilesList.js index ce876d8d..0c27ad19 100644 --- a/test/snapshot/generateAdditionalFilesList.js +++ b/test/snapshot/generateAdditionalFilesList.js @@ -42,7 +42,7 @@ testContentFunctions(t, 'generateAdditionalFilesList (snapshot)', async (t, eval ], ], postprocess: template => template - .slot('additionalFileLinks', { + .slot('fileLinks', { 'sburbwp_1280x1024.jpg': 'link to 1280x1024', 'sburbwp_1440x900.jpg': 'link to 1440x900', 'sburbwp_1920x1080.jpg': null, @@ -50,7 +50,7 @@ testContentFunctions(t, 'generateAdditionalFilesList (snapshot)', async (t, eval 'Homestuck_Vol4_alt2.jpg': null, 'Homestuck_Vol4_alt3.jpg': 'link to alt3', }) - .slot('additionalFileSizes', { + .slot('fileSizes', { 'sburbwp_1280x1024.jpg': 2500, 'sburbwp_1440x900.jpg': null, 'sburbwp_1920x1080.jpg': null, |