Skip to content

Commit b0811ba

Browse files
committed
Hugo Config option for blog URLs: avoid deprecation
WARN deprecated: the ":filename" permalink token was deprecated in Hugo 0.144.0 and will be removed in a future release. Use ":contentbasename" instead.
1 parent 1942f54 commit b0811ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website_and_docs/hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pygmentsStyle = "tango"
2727

2828
# Configure how URLs look like per section.
2929
[permalinks]
30-
blog = "/:section/:year/:filename/"
30+
blog = "/:section/:year/:contentbasename/"
3131
# blog = "/:section/:year/:month/:day/:slug/"
3232

3333
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday

0 commit comments

Comments
 (0)