diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-30 22:12:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:59 -0300 |
commit | 550da60a1bfabdacd008edb047101347513a187c (patch) | |
tree | d0f815d17a76e5fb9c20b3be3375585aada1e09d /src/content/dependencies/generatePageLayout.js | |
parent | 510db039aa51c42b139bf5a1e80a0aef7571cd3d (diff) |
content, css: generatePageLayout: dynamic sidebar skippers
Diffstat (limited to 'src/content/dependencies/generatePageLayout.js')
-rw-r--r-- | src/content/dependencies/generatePageLayout.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index 0a96a19d..e3bfa065 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -424,8 +424,11 @@ export default { (condition === undefined ? hasID(id) : condition)) + .map(({id, string}) => html.tag('span', {class: 'skipper'}, + {'data-for': id}, + html.tag('a', {href: `#${id}`}, language.$('misc.skippers', string)))); |