diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-11-23 18:52:04 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-11-24 13:45:34 -0400 |
commit | 8c69ef2b14c4719fa0cd0c7daca27c613167b7ca (patch) | |
tree | 8742a45bb243c9e1fdc1a7a7504316f92f9315ce /src/content/dependencies/linkExternalFlash.js | |
parent | cf08893d48db6f8082a176f54d0d92cb82716b3a (diff) |
content: contextual external links
Diffstat (limited to 'src/content/dependencies/linkExternalFlash.js')
-rw-r--r-- | src/content/dependencies/linkExternalFlash.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/dependencies/linkExternalFlash.js b/src/content/dependencies/linkExternalFlash.js index 65158ff8..e2147da1 100644 --- a/src/content/dependencies/linkExternalFlash.js +++ b/src/content/dependencies/linkExternalFlash.js @@ -1,6 +1,8 @@ // Note: This function is seriously hard-coded for HSMusic, with custom // presentation of links to Homestuck flashes hosted various places. +// This also appears to be dead code, apart from a single snapshot test?? + export default { contentDependencies: ['linkExternal'], extraDependencies: ['html', 'language'], @@ -22,6 +24,8 @@ export default { const {link} = relations; const {url, page} = data; + link.setSlot('context', 'flash'); + return html.tag('span', {class: 'nowrap'}, |