Add environment as a new filter to _cascade.target

Fixes #9612
This commit is contained in:
Cathrine Paulsen
2022-04-05 07:41:24 +00:00
committed by GitHub
parent ed9aa374dd
commit da00e7714e
5 changed files with 58 additions and 2 deletions

View File

@@ -94,6 +94,7 @@ type testPage struct {
linkTitle string
lang string
section string
site testSite
content string
@@ -532,7 +533,7 @@ func (p *testPage) SectionsPath() string {
}
func (p *testPage) Site() Site {
panic("not implemented")
return p.site
}
func (p *testPage) Sites() Sites {