Allow cascade to be a slice with a _target discriminator

Fixes #7782
This commit is contained in:
Bjørn Erik Pedersen 2020-10-05 20:01:52 +02:00
parent 5e2a547cb5
commit c63db7f1f6
11 changed files with 375 additions and 29 deletions

View file

@ -85,11 +85,12 @@ func newTestPathSpecFor(cfg config.Provider) *helpers.PathSpec {
}
type testPage struct {
kind string
description string
title string
linkTitle string
section string
lang string
section string
content string
@ -297,11 +298,11 @@ func (p *testPage) Keywords() []string {
}
func (p *testPage) Kind() string {
panic("not implemented")
return p.kind
}
func (p *testPage) Lang() string {
panic("not implemented")
return p.lang
}
func (p *testPage) Language() *langs.Language {