feat: add exif data to image tags
Some checks failed
Deploy to SFTP Server / build (push) Failing after 2m10s
Some checks failed
Deploy to SFTP Server / build (push) Failing after 2m10s
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
---
|
||||
import Layout from "@layouts/Layout.astro";
|
||||
import { getCollection } from "astro:content";
|
||||
import { useTranslatedPath } from "@i18n/utils";
|
||||
import SmallCard from "@components/SmallCard.astro";
|
||||
import SmallGrid from "@components/SmallGrid.astro";
|
||||
|
||||
const collections = ["blog", "photos", "projects"] as const;
|
||||
|
||||
const tp = useTranslatedPath(Astro.url);
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const collections = ["blog", "photos", "projects"] as const;
|
||||
const posts = await Promise.all(
|
||||
@@ -54,9 +51,7 @@ const posts = allPosts.filter((post) => {
|
||||
<SmallGrid>
|
||||
{
|
||||
posts.map((post) => {
|
||||
return (
|
||||
<SmallCard post={post} />
|
||||
);
|
||||
return <SmallCard post={post} />;
|
||||
})
|
||||
}
|
||||
</SmallGrid>
|
||||
|
Reference in New Issue
Block a user