cncf/landscape2

Is there any setting that can support base url?

Closed this issue ยท 4 comments

Hi, I am using cncf landscape2 to build a landscape web page for front-end opensource software. However, the current landscape2 does not support base url. Because I want to deploy it to a URL like https://foo.github.io/landscape/.
Is there any solution to this problem?
FYI: here is a vitepress base url config https://vitepress.dev/guide/asset-handling#base-url

If your site is deployed to a non-root URL, you will need to set the base option in .vitepress/config.js. For example, if you plan to deploy your site to https://foo.github.io/bar/, then base should be set to '/bar/' (it should always start and end with a slash).

Many thanks!

tegioz commented

Hi @flyfishzy ๐Ÿ‘‹

Not at the moment, but this is something we'd like to have to we'll take care of it ๐Ÿ™‚

Thanks a lot ! I'm really looking forward to it.

tegioz commented

This is ready @flyfishzy ๐Ÿ™‚

You can see it in action in this repository: https://github.com/tegioz/sample-landscape

Closed by #557 and #561

Thank you!!! It works for me.