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

@@ -1,6 +1,6 @@
---
import * as interfaces from '../../lib/interfaces'
import { filePath } from '../../lib/blog-helpers'
import * as interfaces from '../../lib/interfaces'
import Caption from './Caption.astro'
export interface Props {
@@ -26,8 +26,7 @@ try {
}
const filename =
url &&
decodeURIComponent(url.pathname.split('/').slice(-1)[0] || '')
url && decodeURIComponent(url.pathname.split('/').slice(-1)[0] || '')
---
<div class="file">