)
- } else if (eventKind === ExtendedKind.WIKI_ARTICLE_MARKDOWN) {
- // Render 30817 content as MarkdownArticle
- // Pass parent image URL to avoid showing duplicate cover images
- // Use the top-level publication's image as parent, or the passed parentImageUrl for nested publications
- const effectiveParentImageUrl = !isNested ? metadata.image : parentImageUrl
+ }
+
+ // NIP-23 long-form (30023): same markdown body path as standalone note view
+ if (eventKind === kinds.LongFormArticle) {
return (
-
diff --git a/src/components/UniversalContent/Wikilink.tsx b/src/components/UniversalContent/Wikilink.tsx
index 0fb27d09..32bca6af 100644
--- a/src/components/UniversalContent/Wikilink.tsx
+++ b/src/components/UniversalContent/Wikilink.tsx
@@ -12,11 +12,6 @@ interface WikilinkProps {
export default function Wikilink({ dTag, displayText, className }: WikilinkProps) {
const [isOpen, setIsOpen] = useState(false)
- const handleWikistrClick = () => {
- const url = `https://wikistr.imwald.eu/${dTag}`
- window.open(url, '_blank', 'noopener,noreferrer')
- }
-
const handleAlexandriaClick = () => {
const url = `https://next-alexandria.gitcitadel.eu/events?d=${dTag}`
window.open(url, '_blank', 'noopener,noreferrer')
@@ -35,15 +30,6 @@ export default function Wikilink({ dTag, displayText, className }: WikilinkProps
-