package main templ eventPageTemplate( title string, og OpenGraphParams, head HeadParams, clients []ClientReference, details DetailsParams, event EnhancedEvent, isEmbed bool, ) { { title } @openGraphTemplate(og) @headCommonTemplate(head) @topTemplate(head)
@authorHeaderTemplate(event.author)
{ event.CreatedAtStr() }
if nevent := event.getParentNevent(); nevent != "" { in reply to @templ.Raw(replaceNostrURLsWithHTMLTags(nostrNoteNeventMatcher, "nostr:"+nevent)) }
{ children... }
@detailsTemplate(details)
@clientsTemplate(clients)
@footerTemplate() }