mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Revert "Make .IsHome work when homepage as page"
This reverts commit 7e765cc1bd
.
This commit is contained in:
parent
7e765cc1bd
commit
59c6ba4e45
1 changed files with 0 additions and 1 deletions
|
@ -1282,7 +1282,6 @@ func (s *Site) newHomePage() *Page {
|
|||
}
|
||||
|
||||
p.Title = p.Site.Title
|
||||
p.IsHome = true
|
||||
p.URL = helpers.URLizeAndPrep("/")
|
||||
p.URLPath.Permalink = s.permalink(p.URL)
|
||||
p.RSSLink = s.permalink("/" + ".xml")
|
||||
|
|
Loading…
Reference in a new issue