mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Make site.BaseURL and $pager.URL a string
Was template.URL.
This commit is contained in:
@@ -417,8 +417,8 @@ func (s *Site) Hugo() hugo.HugoInfo {
|
||||
}
|
||||
|
||||
// Returns the BaseURL for this Site.
|
||||
func (s *Site) BaseURL() template.URL {
|
||||
return template.URL(s.conf.C.BaseURL.WithPath)
|
||||
func (s *Site) BaseURL() string {
|
||||
return s.conf.C.BaseURL.WithPath
|
||||
}
|
||||
|
||||
// Returns the last modification date of the content.
|
||||
|
Reference in New Issue
Block a user