mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02: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:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user