Skip to content

Commit

Permalink
Fix duplicated tag 'gardenEntry'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkopp committed Jun 16, 2024
1 parent d3c3b3f commit f67ed1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/FrontmatterCompiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit f67ed1a

Please sign in to comment.