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

{{ page.slug }} removes "s" if present from end of content entry slug #205

Open
greyskin opened this issue Oct 1, 2021 · 0 comments
Open

Comments

@greyskin
Copy link

greyskin commented Oct 1, 2021

Steps to reproduce:

  1. Create a content_type (we will call it members)
    for testing purposes, requires only the _slug and name settings
  2. Under pages, create a members folder
    (/pages/members/)
  3. Inside the members folder, create a content_type_template.liquid file
    (set the content_type setting to "members")
  4. On the content_type_template page, add {{ page.slug }}
  5. Create a members entry called "Charles"
    (_slug: charles, name: Charles)
  6. deploy to engine or wagon serve
  7. Navigate to [sitedomain]/members/charles
  8. Observe: {{ page.slug }} renders "charle"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant