mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Get the list commands up to multi-site level
This commit also unexports some Site methods, making it clear what the external build API really is. See #2312
This commit is contained in:
@@ -131,8 +131,8 @@ func TestMultiSitesBuild(t *testing.T) {
|
||||
// Check taxonomies
|
||||
enTags := enSite.Taxonomies["tags"]
|
||||
frTags := frSite.Taxonomies["plaques"]
|
||||
require.Len(t, enTags, 2, fmt.Sprintf("Tags in en: %=v", enTags))
|
||||
require.Len(t, frTags, 2, fmt.Sprintf("Tags in fr: %=v", frTags))
|
||||
require.Len(t, enTags, 2, fmt.Sprintf("Tags in en: %v", enTags))
|
||||
require.Len(t, frTags, 2, fmt.Sprintf("Tags in fr: %v", frTags))
|
||||
require.NotNil(t, enTags["tag1"])
|
||||
require.NotNil(t, frTags["frtag1"])
|
||||
readDestination(t, "public/fr/plaques/frtag1/index.html")
|
||||
|
Reference in New Issue
Block a user