mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 21:51:02 +03:00
parent
5e2a547cb5
commit
c63db7f1f6
11 changed files with 375 additions and 29 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue