mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
602ceec06d
commit
91d16fbba0
2 changed files with 2 additions and 2 deletions
|
@ -1197,7 +1197,7 @@ func (s *Site) RenderHomePage() error {
|
|||
n := s.newHomeNode()
|
||||
layouts := s.appendThemeTemplates([]string{"index.html", "_default/list.html", "_default/single.html"})
|
||||
|
||||
if err := s.renderAndWritePage("homepage", "/", n, layouts...); err != nil {
|
||||
if err := s.renderAndWritePage("homepage", helpers.FilePathSeparator, n, layouts...); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
@ -367,7 +367,7 @@ func doTest404ShouldAlwaysHaveUglyUrls(t *testing.T, uglyUrls bool) {
|
|||
for _, test := range tests {
|
||||
file, err := hugofs.DestinationFS.Open(test.doc)
|
||||
if err != nil {
|
||||
t.Fatalf("Did not find %s in target.", test.doc)
|
||||
t.Fatalf("Did not find %s in target: %s", test.doc, err)
|
||||
}
|
||||
content := helpers.ReaderToBytes(file)
|
||||
|
||||
|
|
Loading…
Reference in a new issue