Skip to content

Commit

Permalink
Tag not tags, copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Sep 16, 2024
1 parent 2676c5d commit 43ef55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/document/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (b *CodeBlock) Tags() []string {
superset = append(superset, strings.Split(categories, ",")...)
}

tags, ok := b.Attributes()["tags"]
tags, ok := b.Attributes()["tag"]
if ok {
superset = append(superset, strings.Split(tags, ",")...)
}
Expand Down

0 comments on commit 43ef55b

Please sign in to comment.