diff --git a/data/gallery/DSC09365.jpg b/data/gallery/DSC09365.jpg deleted file mode 100644 index a872638..0000000 --- a/data/gallery/DSC09365.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe339f52851612e346ca9e82f285708797bc83327881f7973d61b3bcdff54a0b -size 3222882 diff --git a/data/gallery/DSC09455.jpg b/data/gallery/DSC09455.jpg deleted file mode 100644 index 0f1d92e..0000000 --- a/data/gallery/DSC09455.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ca77c37850d3a912664140c0d9262d27f503eae364d0758bc24f97222158cf22 -size 3635112 diff --git a/gatsby-node.ts b/gatsby-node.ts index 0a1135a..67a670d 100644 --- a/gatsby-node.ts +++ b/gatsby-node.ts @@ -230,7 +230,7 @@ export const onCreateNode: GatsbyNode["onCreateNode"] = async function ({ node.absolutePath as string, dominant, // if datePublished is empty, image has not been committed to git yet and is thus brand new - datePublished.length ? datePublished : new Date().toISOString() + datePublished.length ? datePublished.replace("\n", "") : new Date().toISOString() ), }); } diff --git a/src/components/KeywordsPicker.tsx b/src/components/KeywordsPicker.tsx index d4784d5..130a1c2 100644 --- a/src/components/KeywordsPicker.tsx +++ b/src/components/KeywordsPicker.tsx @@ -21,7 +21,7 @@ const KeywordsPicker = ({ keywords, value, onChange }: KeywordsPickerProps) => {