From a9cad4f0666e782ae91a1a50e3f625f51fdd39e9 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 00000000..742bcb23 --- /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