Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Collection's preview_path is not working #1113

Open
Isma-LB opened this issue May 6, 2024 · 1 comment
Open

Collection's preview_path is not working #1113

Isma-LB opened this issue May 6, 2024 · 1 comment

Comments

@Isma-LB
Copy link

Isma-LB commented May 6, 2024

Hi, I'm not sure if this is a bug or documentation error, in the configuration options page (#site URL) is written

The site_url setting should provide a URL to your published site. May be used by Static CMS for various functionality. Used together with a collection's preview_path to create links to live content.

However the CMS is ignoring the preview_path configuration on collections, it does not show a link to the live content.
It only shows the URL configured as display_url if defined otherwise it shows site_url

Is this a bug in preview_path? or is this feature not supported and the documentation is misleading?

Thanks for the awesome work with this CMS! 😃

ps. I'm migrating from Decap CMS where the preview_path was working for me

@elrender
Copy link

elrender commented Aug 4, 2024

@KaneFreeman
Hey, can we have a confirmation whether Preview Links are supported or not?

I am also looking for this as I have got already working preview CI flow for Decap CMS and I was wondering if I can adapt it to show preview link in the Static CMS. It would be very helpfull for the editors.

Decap migration guide doesn't mention this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants