zola/docs/content/documentation/getting-started
Andrew Browne 7b562fcd2c Add slugify.paths_keep_dates option. Update docs.
Manual testing:

Existing test_site/config.toml

http://127.0.0.1:1111/posts/a-post-with-dates

====

--- a/test_site/config.toml
+++ b/test_site/config.toml
@@ -18,6 +18,7 @@ extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"]

 [slugify]
 paths = "on"
+paths_keep_dates = true
 taxonomies = "on"
 anchors = "on"

http://127.0.0.1:1111/posts/2016-10-08-a-post-with-dates

====

--- a/test_site/config.toml
+++ b/test_site/config.toml
@@ -17,7 +17,8 @@ highlight_theme = "custom_gruvbox"
 extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"]

 [slugify]
-paths = "on"
+paths = "off"
+paths_keep_dates = true
 taxonomies = "on"
 anchors = "on"

http://127.0.0.1:1111/posts/2016-10-08_a-post-with-dates

====

--- a/test_site/config.toml
+++ b/test_site/config.toml
@@ -17,7 +17,8 @@ highlight_theme = "custom_gruvbox"
 extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"]

 [slugify]
-paths = "on"
+paths = "safe"
+paths_keep_dates = true
 taxonomies = "on"
 anchors = "on"

http://127.0.0.1:1111/posts/2016-10-08_a-post-with-dates
2023-02-16 20:49:03 +01:00
..
_index.md Change zola serve to load HTML from memory instead of disk (#1114) 2020-08-16 18:39:04 +02:00
cli-usage.md Enables setting base-url to / for relative URLs in serve mode (#1853) 2022-05-10 22:04:40 +02:00
configuration.md Add slugify.paths_keep_dates option. Update docs. 2023-02-16 20:49:03 +01:00
directory-structure.md Improve documentation (#1335) 2021-02-03 13:13:49 +01:00
installation.md Fix typo 2023-02-11 16:12:39 +01:00
overview.md Quotation mark bug fix (#2005) 2022-10-30 21:43:05 +01:00