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

Collection's preview_path is not working  #1113

@Isma-LB

Description

@Isma-LB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions