Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkjoy committed Oct 29, 2024
1 parent e046871 commit fb19b6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Artalk.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/posts/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const jsonLd = {
</div>
</div>
<!-- 使用ArtalkComments组件 -->
<Artalk server="https://atalk.loliko.cn" site="ittst" />
<Artalk />
<div class="flex flex-col md:flex-row justify-between mb-4 gap-4 overflow-hidden w-full">
<a href={entry.data.nextSlug ? getPostUrlBySlug(entry.data.nextSlug) : "#"}
class:list={["w-full font-bold overflow-hidden active:scale-95", {"pointer-events-none": !entry.data.nextSlug}]}>
Expand Down

0 comments on commit fb19b6b

Please sign in to comment.