Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Default slug/url format

Started by Muut Archive 11 years ago · 1 replies · 420 views
11 years ago

How to customize default slug / url format.

for example, insteand of /home I want it to be /home.html or /home/ with a trailing slash.

How to customize it without having to create slug variable manually for each page ?

11 years ago

So I saw the append_url_extension options, but it doesn't works if I want to append a final / on some urls, how to append trailing / ?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2578 9 years ago
Archive · by Muut Archive, 9 years ago
2 1698 9 years ago
Archive · by Muut Archive, 9 years ago
2 4990 9 years ago
Archive · by Muut Archive, 9 years ago
1 3818 9 years ago
Archive · by Muut Archive, 9 years ago
3 1805 9 years ago