kirby3-static-site-generator icon indicating copy to clipboard operation
kirby3-static-site-generator copied to clipboard

Wrong baseUrl for some elements

Open dimejo opened this issue 4 months ago • 1 comments

I have build a small project that is supposed to be a boilerplate for future static sites with Kirby. The project only consists of Kirby 4, the Starterkit and kirby3-static-site-generator. The site is automatically build by running a build.php script via Github Actions and then deployed to Github Pages. Everything is working well but I noticed that some images are not loaded because 'https://d4l-ssg-base-url' is used as $baseUrl instead of '/kirby-tailwind-static'.

Screenshot 2024-02-14 174542

URLs having this issue: https://dimejo.github.io/kirby-tailwind-static/about/ https://dimejo.github.io/kirby-tailwind-static/notes/exploring-the-universe/

The corresponding code seems to be generated by this snippet, but as I'm completely new to Kirby I have no idea what is going on.

dimejo avatar Feb 14 '24 16:02 dimejo