Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please read it before use v0.8.4 #8

Open
vratskyi opened this issue Mar 1, 2024 · 0 comments
Open

Please read it before use v0.8.4 #8

vratskyi opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@vratskyi
Copy link
Owner

vratskyi commented Mar 1, 2024

Anyway, for all those who would like to use the template with the latest version here with these fixes I consider it the latest version: fixes
in the config for netlify you need to configure paths for dynamic generation of posts for each of the existing locales.

That is, now when building a project on any of the astro-adapters (cloudflare, vercel, netlufy - I tried them all) only posts that are in /posts/en/some-posts.mdx are generated, but it should happen for /posts/en/some-posts.mdx, but it generates /posts/en/*.html this problem I did not solve, as in the documentation I did not find how to solve it, maybe it is in the i18n configuration.

How it should be

│  │  └─ posts
│  │     ├─ en
│  │     │  ├─ index.html
│  │     │  ├─ about-experience-in-web-dev.html
│  │     │  ├─ become-cool-frontend-dev.html
│  │     │  ├─ cool-plugins-for-vs-code.html
│  │     │  ├─ ui-kit-for-tailwind.html
│  │     │  └─ what-happened-in-a-month-my-blog.html
│  │     ├─ images
│  │     │  ├─ astro-ov.png
│  │     │  ├─ astro.jpg
│  │     │  ├─ experience.jpg
│  │     │  ├─ extension.jpg
│  │     │  ├─ figma-design.jpg
│  │     │  ├─ mads-de-silva.jpg
│  │     │  ├─ timeline.png
│  │     │  ├─ ui.jpg
│  │     │  └─ what-happened-in-a-month-my-vlog.png
│  │     └─ ru
│  │        ├─ index.html
│  │        ├─ about-experience-in-web-dev.html
│  │        ├─ become-cool-frontend-dev.html
│  │        ├─ cool-plugins-for-vs-code.html
│  │        ├─ ui-kit-for-tailwind.html
│  │        └─ what-happened-in-a-month-my-blog.html

How it now

│  │  └─ posts
│  │     ├─ en
│  │     │  ├─ index.html
│  │     │  ├─ about-experience-in-web-dev.html
│  │     │  ├─ become-cool-frontend-dev.html
│  │     │  ├─ cool-plugins-for-vs-code.html
│  │     │  ├─ ui-kit-for-tailwind.html
│  │     │  └─ what-happened-in-a-month-my-blog.html
│  │     ├─ images
│  │     │  ├─ astro-ov.png
│  │     │  ├─ astro.jpg
│  │     │  ├─ experience.jpg
│  │     │  ├─ extension.jpg
│  │     │  ├─ figma-design.jpg
│  │     │  ├─ mads-de-silva.jpg
│  │     │  ├─ timeline.png
│  │     │  ├─ ui.jpg
│  │     │  └─ what-happened-in-a-month-my-vlog.png
│  │     └─ ru
│  │        ├─ index.html

Thanks in advance to those who will solve this problem.


@vratskyi vratskyi added the help wanted Extra attention is needed label Mar 1, 2024
@vratskyi vratskyi self-assigned this Mar 1, 2024
@vratskyi vratskyi pinned this issue Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant