@@ -314,7 +314,7 @@ func (c *pagesCollector) collectDirDir(path string, root hugofs.FileMetaInfo, in
314
314
return nil , filepath .SkipDir
315
315
}
316
316
317
- seen := map [hstrings.Tuple ]bool {}
317
+ seen := map [hstrings.Strings3 ]bool {}
318
318
for _ , fi := range readdir {
319
319
if fi .IsDir () {
320
320
continue
@@ -327,7 +327,7 @@ func (c *pagesCollector) collectDirDir(path string, root hugofs.FileMetaInfo, in
327
327
// These would eventually have been filtered out as duplicates when
328
328
// inserting them into the document store,
329
329
// but doing it here will preserve a consistent ordering.
330
- baseLang := hstrings.Tuple { First : pi .Base (), Second : meta .Lang }
330
+ baseLang := hstrings.Strings3 { pi .Base (), pi . IdentifiersUnknownString (), meta .Lang }
331
331
if seen [baseLang ] {
332
332
continue
333
333
}
@@ -374,7 +374,7 @@ func (c *pagesCollector) collectDirDir(path string, root hugofs.FileMetaInfo, in
374
374
375
375
func (c * pagesCollector ) handleBundleLeaf (dir , bundle hugofs.FileMetaInfo , inPath string , readdir []hugofs.FileMetaInfo ) error {
376
376
bundlePi := bundle .Meta ().PathInfo
377
- seen := map [hstrings.Tuple ]bool {}
377
+ seen := map [hstrings.Strings2 ]bool {}
378
378
379
379
walk := func (path string , info hugofs.FileMetaInfo ) error {
380
380
if info .IsDir () {
@@ -396,7 +396,7 @@ func (c *pagesCollector) handleBundleLeaf(dir, bundle hugofs.FileMetaInfo, inPat
396
396
// These would eventually have been filtered out as duplicates when
397
397
// inserting them into the document store,
398
398
// but doing it here will preserve a consistent ordering.
399
- baseLang := hstrings.Tuple { First : pi .Base (), Second : info .Meta ().Lang }
399
+ baseLang := hstrings.Strings2 { pi .Base (), info .Meta ().Lang }
400
400
if seen [baseLang ] {
401
401
return nil
402
402
}
0 commit comments