docusaurus/packages/docusaurus-1.x/lib/server
Ó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
..
__mocks__ chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
__tests__ v1.11.1 (#1592) 2019-06-08 10:56:21 -07:00
blog.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
config.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
docs.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
env.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
feed.js feat: add "unlisted" front matter option for blog posts (#1396) 2019-06-15 09:24:15 -07:00
generate.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
liveReloadServer.js feat: allow different host through CLI flag (#1475) 2019-05-20 23:31:41 +07:00
metadataUtils.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
readCategories.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
readMetadata.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
renderUtils.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
routing.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
server.js fix: enable live reloading title of doc (#1507) 2019-05-27 14:48:01 +07:00
sitemap.js fix: reload siteConfig.js automatically when locally served page is refreshed (#1509) 2019-05-22 22:31:51 +07:00
start.js feat: allow different host through CLI flag (#1475) 2019-05-20 23:31:41 +07:00
translate-plugin.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
translate.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00
translation.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
versionFallback.js chore: move to monorepo (#1297) 2019-03-23 14:21:36 +07:00