diff --git a/src/components/Comments.astro b/src/components/Comments.astro index c0429bc..0d19c8b 100644 --- a/src/components/Comments.astro +++ b/src/components/Comments.astro @@ -13,11 +13,12 @@ const FediverseConfig = siteConfig.comments.fediverse interface Props { mastodonLink?: string; bskyLink?: string; + pageTitle?: string; } -const { mastodonLink, bskyLink } = Astro.props; +const { mastodonLink, bskyLink, pageTitle } = Astro.props; --- -{method === 'artalk' && } +{method === 'artalk' && } {method === 'giscus' && } {(method === 'fediverse' && !FediverseConfig.renderOnServer ) && } diff --git a/src/components/helper/comments/Artalk.astro b/src/components/helper/comments/Artalk.astro index b50e275..729cd57 100644 --- a/src/components/helper/comments/Artalk.astro +++ b/src/components/helper/comments/Artalk.astro @@ -2,10 +2,13 @@ import {siteConfig} from "../../../config"; import 'artalk/Artalk.css'; const ArtalkInstanceDomain = siteConfig.comments.artalk.instanceDomain +const ArtalkInstanceSite = siteConfig.comments.artalk.site + +const { title = '' } = Astro.props; ---
-
+