Skip to content

Commit 39981c2

Browse files
committed
Added website host setting
1 parent d097939 commit 39981c2

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

content/docs/settings/available-settings.md

Lines changed: 8 additions & 1 deletion
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: 2023-08-20T11:42:01.202Z
6+
lastmod: 2023-09-13T14:02:36.428Z
77
weight: 1100.2
88
---
99

@@ -776,6 +776,13 @@ Specify the prefix you want to add for your new article filenames.
776776
- Type: `string`
777777
- Default: `yyyy-MM-dd`
778778

779+
### frontMatter.website.host
780+
781+
Specify the host URL of your website.
782+
783+
- Type: `string`
784+
- Default: `""`
785+
779786
## Deprecated settings
780787

781788
### frontMatter.taxonomy.dateField

content/docs/site-preview.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Site preview
33
slug: site-preview
44
description: null
55
date: 2021-08-31T08:24:02.613Z
6-
lastmod: 2023-02-12T15:48:22.708Z
6+
lastmod: 2023-09-13T14:07:55.874Z
77
weight: 700
88
---
99

@@ -134,6 +134,14 @@ type level will override what is defined on page folder level and globally.
134134
]
135135
```
136136

137+
### Open on the website
138+
139+
With the `frontMatter.website.host` setting, you can specify the host of your website. Once the
140+
setting is configured, you can click on the `Open on website` button to open the current page on
141+
your website.
142+
143+
> **Info**: The `frontMatter.website.host` setting can be configured in the `frontmatter.json` file.
144+
137145
<!-- Link References -->
138146

139147
[01]: /releases/v8.3.0/site-preview.png

0 commit comments

Comments
 (0)