mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
hugolib: Deprecate site methods Author, Authors, and Social
Closes #12228
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
78178d0c2a
commit
d4d49e0f0e
@@ -14,9 +14,11 @@
|
||||
package page
|
||||
|
||||
// AuthorList is a list of all authors and their metadata.
|
||||
// Deprecated: Use taxonomies instead.
|
||||
type AuthorList map[string]Author
|
||||
|
||||
// Author contains details about the author of a page.
|
||||
// Deprecated: Use taxonomies instead.
|
||||
type Author struct {
|
||||
GivenName string
|
||||
FamilyName string
|
||||
@@ -41,4 +43,5 @@ type Author struct {
|
||||
// - youtube
|
||||
// - linkedin
|
||||
// - skype
|
||||
// Deprecated: Use taxonomies instead.
|
||||
type AuthorSocial map[string]string
|
||||
|
Reference in New Issue
Block a user