static-cms
static-cms copied to clipboard
Collection's preview_path is not working
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'spreview_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! :smiley:
ps. I'm migrating from Decap CMS where the preview_path was working for me
@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.