From f67ed1a5601aae34ebd2564c4196ae26cd29376d Mon Sep 17 00:00:00 2001 From: David Kopp Date: Sun, 16 Jun 2024 19:04:45 +0200 Subject: [PATCH] Fix duplicated tag 'gardenEntry' --- src/compiler/FrontmatterCompiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/FrontmatterCompiler.ts b/src/compiler/FrontmatterCompiler.ts index 607e29a..fc1e55b 100644 --- a/src/compiler/FrontmatterCompiler.ts +++ b/src/compiler/FrontmatterCompiler.ts @@ -166,7 +166,7 @@ export class FrontmatterCompiler { ? fileFrontMatter["tags"].split(/,\s*/) : fileFrontMatter["tags"]) || []; - if (fileFrontMatter["dg-home"]) { + if (fileFrontMatter["dg-home"] && !tags.contains("gardenEntry")) { tags.push("gardenEntry"); }