Wowie what a gay little website for my gay little self aria.coffee
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

update album

aria 641ca72f ca84f654

+6 -3
+4 -2
src/content.config.ts
··· 1 1 // Import utilities from `astro:content` 2 - import { defineCollection, z } from "astro:content"; 2 + import { defineCollection} from "astro:content"; 3 + import { z } from 'astro/zod'; 3 4 4 5 // Import the glob loader 5 6 import { glob } from "astro/loaders"; ··· 18 19 }); 19 20 20 21 const albums = defineCollection({ 21 - type: "data", 22 + // type: "data", 23 + loader: glob({ pattern: '**/*.yaml', base: "./src/content/albums" }), 22 24 schema: ({ image }) => 23 25 z.object({ 24 26 title: z.string(),
+2 -1
src/pages/albums.astro
··· 31 31 class:list={[ 32 32 "rounded-lg transition-all", 33 33 "group-hover:shadow-lg group-hover:opacity-90", 34 + "text-center w-full" 34 35 ]} 35 - /> 36 + /><br /> 36 37 <div class="mt-4 text-center"> 37 38 <strong class="font-normal"> 38 39 {item.data.title}