Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
Fix search_exclude in Hiding A Blog Post section.
Browse files Browse the repository at this point in the history
If you don't want users to find your hidden post in a search then `search_exclude` should be `true` instead of `false`.
  • Loading branch information
xboard authored Jan 6, 2022
1 parent 72a5218 commit 3ac72cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Note: for this setting **you can only reference image files and folders in the `

You may want to prevent a blog post from being listed on the home page, but still have a public url that you can preview or share discreetly. You can hide a blog post from the home page by setting the front matter `hide` to `true`. This is set to `false` by default.

It is recommended that you use [permalinks](https://jekyllrb.com/docs/permalinks/) in order to generate a predictable url for hidden blog posts. You can also set the front matter `search_exclude` to `false` if you don't want users to find your hidden post in a search.
It is recommended that you use [permalinks](https://jekyllrb.com/docs/permalinks/) in order to generate a predictable url for hidden blog posts. You can also set the front matter `search_exclude` to `true` if you don't want users to find your hidden post in a search.

### Pinning A Blog Post

Expand Down

0 comments on commit 3ac72cd

Please sign in to comment.