« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/linkExternal.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/dependencies/linkExternal.js b/src/content/dependencies/linkExternal.js
index 52e43250..5bfad5f4 100644
--- a/src/content/dependencies/linkExternal.js
+++ b/src/content/dependencies/linkExternal.js
@@ -133,6 +133,10 @@ export default {
 
       if (html.isBlank(slots.content)) {
         linkContent = formattedLink;
+      } else if (slots.fromContent) {
+        linkContent =
+          html.metatag('breakout',
+            slots.content);
       } else {
         linkContent = slots.content;
       }