feat(astro): Directus content collections
- Nov 28, 2023
-
-
Flupsi authoreddf2e2143
-
- Nov 27, 2023
-
-
Flupsi authorede20940e3
-
Flupsi authored0aac9125
-
Flupsi authoreda9b23a38
-
Flupsi authoredb5abd170
-
Jon Richter authored68bdd7d1
-
Jon Richter authored247d6936
-
Jon Richter authored7043eed5
-
Jon Richter authored8f3b0f18
-
Jon Richter authored30fafe77
-
Jon Richter authorede59d3cf1
-
Jon Richter authored521593b2
-
Jon Richter authoreddab61ac1
-
Jon Richter authored2455a099
-
Jon Richter authored8d81cb53
-
Jon Richter authored2860a8cd
-
Jon Richter authored
This allows to build the page again. It takes heavy inspiration in: - https://github.com/palmiak/pacamara-astro-directus It adds the Directus REST client from above, here with a redundant static token a <Markdown /> component to the astro templates The commit modifies: config.ts - The content collection configuration and manually mimics Zod Toc.astro - The ToC is uses the REST client and manual types cast from the API response, not from the collection [slug].astro - A page is rendered from one of the three content collections
cae91950 -
Jon Richter authored
This avoids the code being parsed by Astro, considering it content.
270fa9a8 -
Jon Richter authoredcc9046f2
-
Jon Richter authored
Taken from: - https://github.com/tsconfig/bases/blob/main/bases/node18.json - https://github.com/withastro/astro/blob/main/packages/astro/tsconfigs/base.json With inspiration from: - https://github.com/tsconfig/bases/blob/main/bases/nuxt.json
3fe87121 -
Jon Richter authored7fc5ee3d
-
Jon Richter authored5ba46ab9
-
Jon Richter authored0a9f33ed
-
Jon Richter authoredddf89ab1
-
Jon Richter authored76183165
-
- Nov 26, 2023
-
-
Jon Richter authoredf290477d
-
Jon Richter authored5bfb8b26
-
- Nov 25, 2023
-
-
Jon Richter authoredc6bae1b4
-
Jon Richter authored21fb5935
-