fix: some stuff
This commit is contained in:
@@ -37,6 +37,7 @@ async function checkImage(image: ImageMetadata) {
|
||||
const {
|
||||
src: image,
|
||||
loader = true,
|
||||
caption,
|
||||
pictureClass = "",
|
||||
hash = true,
|
||||
alt,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
const iso = (d: string | Date) => {
|
||||
if(!d) return ""
|
||||
const v = toDate(d);
|
||||
if(!v) return ""
|
||||
if(!v?.getTime) return ""
|
||||
return isNaN(v.getTime()) ? "" : v.toISOString();
|
||||
};
|
||||
|
||||
|
||||
BIN
src/content/photos/picos-de-europa/index.en.mdx
(Stored with Git LFS)
BIN
src/content/photos/picos-de-europa/index.en.mdx
(Stored with Git LFS)
Binary file not shown.
BIN
src/content/photos/picos-de-europa/index.mdx
(Stored with Git LFS)
BIN
src/content/photos/picos-de-europa/index.mdx
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user