diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-31 10:49:03 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-31 10:50:51 -0300 |
commit | c4ef4ced62d659d217873c6c48dd8038dbf765af (patch) | |
tree | 444ba1556061a891a6da34de2fc53dad3af4906e /src/content | |
parent | 715bd8eff86c20b3773a66e96e9c9d6ae8602644 (diff) |
content: generateListingPage: show custom content above auto content
This is towards enabling custom controls and/or accents on listings which are otherwise represented by rows or chunks.
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateListingPage.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/content/dependencies/generateListingPage.js b/src/content/dependencies/generateListingPage.js index 3c50bd59..f527f16f 100644 --- a/src/content/dependencies/generateListingPage.js +++ b/src/content/dependencies/generateListingPage.js @@ -129,6 +129,8 @@ export default { listings: language.formatUnitList(relations.seeAlsoLinks), })), + slots.content, + slots.type === 'rows' && html.tag(listTag, slots.rows.map(row => @@ -180,9 +182,6 @@ export default { formatListingString('chunk.item', row))))), ]), ]), - - slots.type === 'custom' && - slots.content, ], navLinkStyle: 'hierarchical', |