fix: some stuff
This commit is contained in:
@@ -37,6 +37,7 @@ async function checkImage(image: ImageMetadata) {
|
|||||||
const {
|
const {
|
||||||
src: image,
|
src: image,
|
||||||
loader = true,
|
loader = true,
|
||||||
|
caption,
|
||||||
pictureClass = "",
|
pictureClass = "",
|
||||||
hash = true,
|
hash = true,
|
||||||
alt,
|
alt,
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
const iso = (d: string | Date) => {
|
const iso = (d: string | Date) => {
|
||||||
if(!d) return ""
|
if(!d) return ""
|
||||||
const v = toDate(d);
|
const v = toDate(d);
|
||||||
if(!v) return ""
|
if(!v?.getTime) return ""
|
||||||
return isNaN(v.getTime()) ? "" : v.toISOString();
|
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