diff options
Diffstat (limited to 'hugolib/site_new.go')
-rw-r--r-- | hugolib/site_new.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/site_new.go b/hugolib/site_new.go index 127b0e296..ac59e01c7 100644 --- a/hugolib/site_new.go +++ b/hugolib/site_new.go @@ -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. |