File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: Settings overview
3
3
slug : settings/overview
4
4
description : null
5
5
date : 2023-02-13T16:44:09.618Z
6
- lastmod : 2024-06-10T09:13:40.409Z
6
+ lastmod : 2024-07-11T07:36:03.458Z
7
7
weight : 1000.2
8
8
---
9
9
@@ -516,16 +516,12 @@ Specify the host URL (example: `http://localhost:1313`) to be used when opening
516
516
### frontMatter.preview.pathName
517
517
518
518
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.
521
521
522
522
- Type: ` string `
523
523
- Default: ` "" `
524
524
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
-
529
525
### frontMatter.preview.trailingSlash
530
526
531
527
Specify if you want to add a trailing slash to the preview URL.
You can’t perform that action at this time.
0 commit comments