jekyllcms
jekyllcms copied to clipboard
Proper post URLs
Posts are displayed using their URLs. However, these URLs are assumed to be in the pretty format of Jekyll, which is not always the case.
Options:
- Just display the post's title (no URL).
- Implement URL style detection and display proper URL.
Tbh I think simply displaying the post title brings more value.
P.S.: This kind of manifests as well when creating a new post (displaying what URL it will have).
The URL is generated in File.permalink() using the template from Configuration.permalinkTemplate(). It should be straightforward to extend permalinkTemplate to understand other permalink formats.