More customzation

This commit is contained in:
2025-11-28 15:29:39 +08:00
parent 985164f4c5
commit 9133d23a15
85 changed files with 4176 additions and 1439 deletions

View File

@@ -5,9 +5,9 @@ import '@/styles/typography.css'
import Footer from '@/components/Footer.astro'
import Head from '@/components/Head.astro'
import Header from '@/components/Header.astro'
import { SITE } from '@/consts'
import { ENABLE_LIGHTBOX, SITE } from '@/consts'
import { cn } from '@/lib/utils'
import { getStaticFilePath } from '@/lib/blog-helpers'
interface Props {
class?: string
}
@@ -37,5 +37,12 @@ const { class: className } = Astro.props
<slot />
</main>
<Footer />
{
ENABLE_LIGHTBOX && (
<script src={getStaticFilePath('/js/fslightbox.js')} />
)
}
</body>
</html>