How to remove .html extension in Jekyll
1 min readAug 14, 2018
Removing .html
especially in Jekyll is very easily, you don’t have to use .htaccess
for this.
Make sure you need to understand the ☝☝☝ above table to use permalink.
To customize the permalink:
- Open your
_config.yml
- Add
permalink: /:title/
(To show title in the URLwww.mysite.com/my-first-post
)
You can choose URL Template
as you wish.
NOTE: Just don’t forget to add a forward slash /
at the end of the permalink.