Changes for page Material Collection

Last modified by Judith Steinfeld on 2025/06/03 11:13

From version 55.21
edited by Benjamin Fischer
on 2024/10/28 13:45
Change comment: There is no comment for this version
To version 55.22
edited by Benjamin Fischer
on 2024/10/28 13:46
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -61,6 +61,7 @@
61 61   const u = new URL(row.link_value);
62 62   let icon;
63 63   if (u.hostname.includes("github")) icon = "github";
64 + if (u.hostname.includes("github.io")) icon = "book";
64 64   if (u.hostname.includes("gitlab")) icon = "gitlab";
65 65   if (u.hostname.includes("google")) icon = "google";
66 66   if (u.hostname.includes("youtube")) icon = "youtube-play";