This commit is contained in:
2026-01-19 17:41:22 +08:00
parent 6b5d6e6ca5
commit dce351a9da
49 changed files with 827 additions and 605 deletions

View File

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