-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Bug description
Are trailing slashes supported? I can't find a definitive answer to this in any of the existing issues or on Discord.
I have added trailing slashes to each of my collections but calling $entry->url always returns a url without a trailing slash.
Personally I can do without trailing slashes but some of my clients insist on maintaining the slash structure when switching from WordPress to Statamic.
If they are supported by Statamic then I think there is a bug.
How to reproduce
Create a collection with a trailing slash route, e.g.:
{parent_uri}/{slug}/
Call {{ $entry->url }} and noticed that trailing slashes are not visible.
Logs
No response
Environment
Laravel Version: 11.34.2
PHP Version: 8.3.15
Composer Version: 2.7.4
Version: 5.41.0 PROInstallation
Fresh statamic/statamic site via CLI
Additional details
No response
joshdaugherty
Metadata
Metadata
Assignees
Labels
No labels