{record.description}
- ) : null} -- Published{" "} - {new Date(record.publishedAt).toLocaleDateString( - undefined, - { - year: "numeric", - month: "long", - day: "2-digit", - }, - )} -
- > + let pubRecord = document.documents_in_publications[0]?.publications + .record as PubLeafletPublication.Record; + + let hasPageBackground = !!pubRecord.theme?.showPageBackground; + + return ( ++ {record.description} +
) : null} - {identity && - identity.atp_did === - document.documents_in_publications[0]?.publications - .identity_did && ( + ++ {new Date(record.publishedAt).toLocaleDateString( + undefined, + { + year: "numeric", + month: "long", + day: "2-digit", + }, + )} +
+ > + ) : null} + {identity && + identity.atp_did === + document.documents_in_publications[0]?.publications + .identity_did && ( + <> + {" "} + | + + Edit Post + + > + )} +