vratskyi.github.io icon indicating copy to clipboard operation
vratskyi.github.io copied to clipboard

Please read it before use v0.8.4

Open vratskyi opened this issue 4 months ago • 0 comments

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 avatar Mar 01 '24 23:03 vratskyi