mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
@@ -424,6 +424,10 @@ func (s *SiteInfo) Hugo() hugo.Info {
|
||||
return s.hugoInfo
|
||||
}
|
||||
|
||||
// Sites is a convenience method to get all the Hugo sites/languages configured.
|
||||
func (s *SiteInfo) Sites() SiteInfos {
|
||||
return s.s.owner.siteInfos()
|
||||
}
|
||||
func (s *SiteInfo) String() string {
|
||||
return fmt.Sprintf("Site(%q)", s.Title)
|
||||
}
|
||||
|
Reference in New Issue
Block a user