How to solve Jekyll CSS 404
When I tried to deploy this Jekyll blog to Github pages, I encountered a weird issue.
I have read through all the instructions in the official documentation. However, after committing the files to Github and completing the deployment, all the styles were missing, and I encountered an error in the console: 404 '/assets/main.css' not found.
The solution that worked for me was editing the “_config.yml” file and changing it from
to
(for Jekyll 4.3.2
)