docusaurus/packages/docusaurus-1.x/lib/core
Ólafur Páll Geirsson da3c91373e feat: add "unlisted" front matter option for blog posts (#1396)
* Add `unlisted` header option for blog posts, fixes #1393.

Previously, the blog sidebar listed the most recent blog posts sorted by
their publish date. This commit adds the ability to hide a specific blog
post from the sidebar and the feed of all blog posts by adding the
`unlisted: true` header option.

```md
title: My Draft Post
unlisted: true # Hide from blog sidebar and main blog page feed.
---
```

* Rename "unlisted" into "draft".
2019-06-15 09:24:15 -07:00
..
__tests__ feat: add "unlisted" front matter option for blog posts (#1396) 2019-06-15 09:24:15 -07:00
nav fix: don't collapse the blog navigation even if collapsible is true (#1519) 2019-05-26 20:37:58 -07:00
anchors.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
BlogPageLayout.js feat: add "unlisted" front matter option for blog posts (#1396) 2019-06-15 09:24:15 -07:00
BlogPost.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
BlogPostLayout.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
BlogSidebar.js feat: add "unlisted" front matter option for blog posts (#1396) 2019-06-15 09:24:15 -07:00
CodeTabsMarkdownBlock.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
CompLibrary.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
Container.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
Doc.js refactor: refactor code tab split (#1369) 2019-05-01 20:57:13 -07:00
DocsLayout.js fix: don't collapse the blog navigation even if collapsible is true (#1519) 2019-05-26 20:37:58 -07:00
DocsSidebar.js fix: remove the Container component from the docsNavContainer (#1599) 2019-06-13 09:05:41 -07:00
GridBlock.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
Head.js feat: highlight nav item in onPageNav ToC (#1524) 2019-05-30 08:54:47 -07:00
MarkdownBlock.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
Redirect.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
Remarkable.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
renderMarkdown.js fix: replace use of deepmerge with _.merge (#1430) 2019-05-02 22:00:28 +07:00
Site.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
toc.js fix: right TOC should not strip special chars (#1458) 2019-05-14 23:55:35 +07:00
toSlug.js fix: anchors links for underscore character (#1309) 2019-03-25 16:54:23 +07:00
unindent.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
utils.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00