From 2873a16c8453d222a0f69c060dd4ecce49e4f1de Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Tue, 28 Nov 2017 08:38:07 -0500 Subject: [PATCH] Add search index excluded post Post to test `search: false` --- test/_posts/2017-11-28-post-exclude-search.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/_posts/2017-11-28-post-exclude-search.md diff --git a/test/_posts/2017-11-28-post-exclude-search.md b/test/_posts/2017-11-28-post-exclude-search.md new file mode 100644 index 000000000000..742bcb231fdf --- /dev/null +++ b/test/_posts/2017-11-28-post-exclude-search.md @@ -0,0 +1,12 @@ +--- +title: "Exclude Post from Search Index" +search: false +categories: + - Jekyll +--- + +This post should not appear in the search index because it has the following YAML Front Matter: + +```yaml +search: false +``` \ No newline at end of file