Skip to content

Commit f8af304

Browse files
committed
Update docs
1 parent 90a3d26 commit f8af304

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

content/docs/settings/available-settings.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Settings overview
33
slug: settings/overview
44
description: null
55
date: 2023-02-13T16:44:09.618Z
6-
lastmod: 2024-06-10T09:13:40.409Z
6+
lastmod: 2024-07-11T07:36:03.458Z
77
weight: 1000.2
88
---
99

@@ -516,16 +516,12 @@ Specify the host URL (example: `http://localhost:1313`) to be used when opening
516516
### frontMatter.preview.pathName
517517

518518
Specify the path you want to add after the host and before your slug. This can be used for instance
519-
to include the year/month like: `yyyy/MM`. The date will be generated based on the article its date
520-
field value.
519+
to include the year/month like: `{{date\|yyyy-MM}}`. The date will be generated based on the article
520+
its date field value.
521521

522522
- Type: `string`
523523
- Default: `""`
524524

525-
> **Important**: As the value will be formatted with the article's date, it will try to convert all
526-
> characters you enter. In case you want to skip some characters or all of them, you need to wrap
527-
> that part between two single quotes. Example: `"'blog/'yyyy/MM"` will result in: `blog/2021/08`.
528-
529525
### frontMatter.preview.trailingSlash
530526

531527
Specify if you want to add a trailing slash to the preview URL.

0 commit comments

Comments
 (0)