diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateDotSwitcherTemplate.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/content/dependencies/generateDotSwitcherTemplate.js b/src/content/dependencies/generateDotSwitcherTemplate.js index 253c231f..22205922 100644 --- a/src/content/dependencies/generateDotSwitcherTemplate.js +++ b/src/content/dependencies/generateDotSwitcherTemplate.js @@ -27,8 +27,15 @@ export default { html.tag('span', {[html.onlyIfContent]: true}, + html.resolve(option, {normalize: 'tag'}) + .onlyIfSiblings && + {[html.onlyIfSiblings]: true}, + index === slots.initialOptionIndex && {class: 'current'}, - option))), + [ + html.metatag('imaginary-sibling'), + option, + ]))), }; |