Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{{permalink}} with / is rewritten to - in preview_path for preview links #5199

Closed
lsolesen opened this issue Apr 1, 2021 · 1 comment
Closed
Labels
duplicate type: bug code to address defects in shipped code

Comments

@lsolesen
Copy link

lsolesen commented Apr 1, 2021

Describe the bug

The {{permalink}} has / rewritten to - in preview_path for preview links

To Reproduce

I have the following config.yml -- https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/config.yml

In my backend I have this permalink:

Screenshot - 2021-04-01T232745 144

However, the link generated for View live is the following:

https://www.motionsplan.dk/artikel-unilateral-traening

Expected behavior

Expected to have the link using the permalink as is.

Screenshots

Applicable Versions:

  • Netlify CMS version: [e.g. 2.0.4]
  • Git provider: [e.g. GitHub, BitBucket]
  • OS: [e.g. Windows 7]
  • Browser version [e.g. chrome 22, safari 11]
  • Node.JS version:

CMS configuration

https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/config.yml

@lsolesen lsolesen added the type: bug code to address defects in shipped code label Apr 1, 2021
@erezrokah
Copy link
Contributor

Closing this as duplicate of #4963.
I'll comment #4963

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

2 participants