From fb19b6b7615a9748bcf71ceca23e500e1de3337f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Tue, 29 Oct 2024 10:55:09 +0800 Subject: [PATCH] test --- src/components/Artalk.astro | 4 ++-- src/config.ts | 2 +- src/pages/posts/[...slug].astro | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Artalk.astro b/src/components/Artalk.astro index 15205d0..b825a56 100644 --- a/src/components/Artalk.astro +++ b/src/components/Artalk.astro @@ -9,8 +9,8 @@ const { site, server } = Astro.props; function initializeArtalk(document) { Artalk.init({ el: '#Comments', - server: {server}, - site: {site}, + server: 'https://atalk.loliko.cn', + site: 'ittst', }); } document.addEventListener('DOMContentLoaded', () => { diff --git a/src/config.ts b/src/config.ts index 72f49d5..156535d 100644 --- a/src/config.ts +++ b/src/config.ts @@ -15,7 +15,7 @@ export const siteConfig: SiteConfig = { fixed: false, // Hide the theme color picker for visitors }, banner: { - enable: true, + enable: false, src: 'assets/images/demo-banner.png', // Relative to the /src directory. Relative to the /public directory if it starts with '/' position: 'center', // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default credit: { diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index 8347aca..aff4345 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -109,7 +109,7 @@ const jsonLd = { - +