boisgera / itn-web

https://boisgera.github.io/itn-web/
GNU General Public License v3.0
0 stars 3 forks source link

Update Astro #24

Closed boisgera closed 1 year ago

boisgera commented 1 year ago

AFAICT, recent astro versions don't like mdx content in blog?

10:17:34 AM [content] Unsupported file types found. Prefix with an underscore (`_`) to ignore: - blog/movie.mdx
boisgera commented 1 year ago

After some experiments, the conversion is proably doable, but there may be quite a large number of cuts along the way. The "@" imports should be replaced with relative paths, the fontsource stuff has to be adapted, Astro.site is not defined anymore, etc.

In particuler, the example blog project has example of mdx content, so that should not be a blocking issue.

boisgera commented 1 year ago

TODO. Work on the stuff as a fork of astroship and make a PR?

boisgera commented 1 year ago

Solved in #b5dad9fb6170174fedae6bf56af081da5dd2cfc2.

boisgera commented 1 year ago

The PR has been done & integrated upstream. Locally, this is applied by b5dad9fb6170174fedae6bf56af081da5dd2cfc2.