jekyllcms icon indicating copy to clipboard operation
jekyllcms copied to clipboard

Proper post URLs

Open mihneadb opened this issue 10 years ago • 1 comments

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:

  1. Just display the post's title (no URL).
  2. 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).

mihneadb avatar May 26 '15 18:05 mihneadb

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.

mgax avatar Jun 02 '15 19:06 mgax