-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve docs for visibility config and add samples
- Loading branch information
1 parent
3eeaba9
commit 7358494
Showing
4 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
visibility: hidden | ||
--- | ||
# Hidden page | ||
|
||
This page will be hidden from the menu and search results. | ||
|
||
The password is `test`. | ||
|
||
See [`visibility`](/configuration/page.md#visibility) documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
visibility: private | ||
--- | ||
# Private page | ||
|
||
This page will not be visible in the main navigation and will require a password to view the page. | ||
|
||
The password is `test`. | ||
|
||
See [`visibility`](/configuration/page.md#visibility) documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
icon: file | ||
visibility: protected | ||
--- | ||
# Protected page | ||
|
||
This page will be visible in the main navigation, but will require a password to view the page. | ||
|
||
The password is `test`. | ||
|
||
See [`visibility`](/configuration/page.md#visibility) documentation. |