... | ... | @@ -2,14 +2,14 @@ https://docs.astro.build/en/guides/markdown-content/#mdx-features |
|
|
|
|
|
I am currently experimenting with Astro: https://github.com/upsiflu/astro-blog
|
|
|
|
|
|
|
|
|
```mermaid
|
|
|
graph TD
|
|
|
A[CMS] --> B{Data Model - Directus}
|
|
|
B -->|Client Sdk| C(Content with frontmatter mirroring all Data Model fields - mdx files)
|
|
|
B -->|OpenAPI3| D(Type definitions for all fields - zod schema file)
|
|
|
C --> E[Static site]
|
|
|
D --> E
|
|
|
B -->|Client Sdk| C(Content with frontmatter mirroring all Data Model fields)
|
|
|
B -->|OpenAPI3| D(Type definitions for all fields)
|
|
|
C -->|mdx files| E[Static site]
|
|
|
D -->|zod schema file| E
|
|
|
F[Ecobytes Components] --> E
|
|
|
```
|
|
|
|
|
|
# Integration with Directus
|
... | ... | @@ -44,7 +44,7 @@ Defining blocks and components in the CMS is preferrable to hardcoding them in . |
|
|
|
|
|
#### Template/Ui i18n
|
|
|
|
|
|
I found https://astro-i18next.yassinedoghri.com/\\\\ which seems amazing for Ui and template localization (time, date, pluralization etc.) but what about blog posts that are available in several languages?
|
|
|
I found https://astro-i18next.yassinedoghri.com/\\\\\\\\ which seems amazing for Ui and template localization (time, date, pluralization etc.) but what about blog posts that are available in several languages?
|
|
|
|
|
|
#### Multilingual Content
|
|
|
|
... | ... | |