From 774f936d3bfcf03ccb4f84dadd46826aa6d3bff8 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 23 Nov 2023 10:53:15 +0100 Subject: [PATCH 1/2] Add example to exclude page from search index --- exampleSite/content/en/blog/fourth-post.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/en/blog/fourth-post.md b/exampleSite/content/en/blog/fourth-post.md index ee024806..4826da34 100644 --- a/exampleSite/content/en/blog/fourth-post.md +++ b/exampleSite/content/en/blog/fourth-post.md @@ -1,9 +1,10 @@ --- author: Mark Dumay -title: Fourth post +title: Fourth post (excluded from search) date: 2023-01-01 -description: This is my fourth blog post. +description: This is my fourth blog post. It is excluded from the search index. tags: ["blog"] +searchExclude: true thumbnail: url: img/flowers.jpg author: Arvee Marie From ed239034bfa9ad1f749593112d9aafe525f2779a Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 23 Nov 2023 10:53:54 +0100 Subject: [PATCH 2/2] Bump package version --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e73c61c5..3200505b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gethinode/hinode", - "version": "0.21.7", + "version": "0.21.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gethinode/hinode", - "version": "0.21.7", + "version": "0.21.8", "license": "MIT", "devDependencies": { "@fullhuman/postcss-purgecss": "^5.0.0", diff --git a/package.json b/package.json index 17247384..c5467bc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gethinode/hinode", - "version": "0.21.7", + "version": "0.21.8", "description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator", "keywords": [ "hugo",