mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Taxonomies can now be provided as a single string value if there is only one in frontmatter (tag = "val" vs tag = ["val"])
This commit is contained in:
@@ -560,7 +560,7 @@ categories_weight = 44
|
||||
Front Matter with weighted tags and categories`)
|
||||
|
||||
var PAGE_WITH_WEIGHTED_TAXONOMIES_1 = []byte(`+++
|
||||
tags = [ "a" ]
|
||||
tags = "a"
|
||||
tags_weight = 33
|
||||
title = "bar"
|
||||
categories = [ "d", "e" ]
|
||||
|
Reference in New Issue
Block a user