mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 21:51:02 +03:00
Remove deprecations <= v0.122.0 (note)
These have, once we release this, been logging ERROR for 6 minor versions.
This commit is contained in:
parent
f7fc6ccd59
commit
ad43d137d5
16 changed files with 7 additions and 287 deletions
|
@ -127,16 +127,6 @@ func (p *testPage) AlternativeOutputFormats() OutputFormats {
|
|||
panic("testpage: not implemented")
|
||||
}
|
||||
|
||||
// Deprecated: Use taxonomies instead.
|
||||
func (p *testPage) Author() Author {
|
||||
return Author{}
|
||||
}
|
||||
|
||||
// Deprecated: Use taxonomies instead.
|
||||
func (p *testPage) Authors() AuthorList {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *testPage) BaseFileName() string {
|
||||
panic("testpage: not implemented")
|
||||
}
|
||||
|
@ -201,14 +191,6 @@ func (p *testPage) ExpiryDate() time.Time {
|
|||
return p.expiryDate
|
||||
}
|
||||
|
||||
func (p *testPage) Ext() string {
|
||||
panic("testpage: not implemented")
|
||||
}
|
||||
|
||||
func (p *testPage) Extension() string {
|
||||
panic("testpage: not implemented")
|
||||
}
|
||||
|
||||
func (p *testPage) File() *source.File {
|
||||
return p.file
|
||||
}
|
||||
|
@ -459,10 +441,6 @@ func (p *testPage) PublishDate() time.Time {
|
|||
return p.pubDate
|
||||
}
|
||||
|
||||
func (p *testPage) RSSLink() template.URL {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (p *testPage) RawContent() string {
|
||||
panic("testpage: not implemented")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue