diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-10-19 20:56:40 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-02 22:25:45 -0300 |
commit | 7833e72b7bdac1a67aae038f3a1c2d6842441d4c (patch) | |
tree | 475ee01e4715fa6ddfa8367eb83cb78b80f015c1 /src/content/dependencies | |
parent | 7af82c0c009d2f2aeb6b242b5ee1bafdee4ffc95 (diff) |
content: generatePageLayout: auto-wrap nav accents & bottom row
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generatePageLayout.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index 67a44b2b..460ae51a 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -379,14 +379,23 @@ export default { content), html.tag('span', {class: 'nav-link-accent'}, + {[html.noEdgeWhitespace]: true}, {[html.onlyIfContent]: true}, - cur.accent), + + language.$('misc.navAccent', { + [language.onlyIfOptions]: ['links'], + links: cur.accent, + })), ])); })), html.tag('div', {class: 'nav-bottom-row'}, {[html.onlyIfContent]: true}, - slots.navBottomRowContent), + + language.$('misc.navAccent', { + [language.onlyIfOptions]: ['links'], + links: slots.navBottomRowContent, + })), html.tag('div', {class: 'nav-content'}, {[html.onlyIfContent]: true}, |