-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* support draft/hidden posts * add changeset --------- Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru> Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
- Loading branch information
1 parent
a1cc984
commit 23c3d6a
Showing
3 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'nextra-theme-blog': minor | ||
--- | ||
|
||
support draft posts via frontMatter's `draft: true` value |
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,13 @@ | ||
--- | ||
title: Draft | ||
date: 2023/6/28 | ||
description: An example of a draft post. | ||
draft: true | ||
tag: web development | ||
author: Ada Lovelace | ||
--- | ||
|
||
Because this post has `draft: true` defined in its frontmatter, it won't show up | ||
in the [list of posts](/posts) or | ||
[list of posts by tag](/tags/web%20development) but can be access directly by | ||
its url at [/posts/draft](/posts/draft). |
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
23c3d6a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nextra-v2 – ./docs
nextra-v2.vercel.app
nextra-v2-shuding1.vercel.app
nextra.vercel.app
nextra-v2-git-main-shuding1.vercel.app
nextra.site
www.nextra.site