diff options
author | Noah Campbell <noahcampbell@gmail.com> | 2013-09-05 09:57:25 -0700 |
---|---|---|
committer | Noah Campbell <noahcampbell@gmail.com> | 2013-09-05 09:57:25 -0700 |
commit | 6274aa0a64b0cb229a556d71c1d34d4139446aaa (patch) | |
tree | 480b4ed9357931cb3de65e4e6086e2e1f11f2e3f /hugolib/site_url_test.go | |
parent | 610c06e6589770d950d8fd4e01efd90b132fcff5 (diff) |
Homepage "/" respects PublishDir
It wasn't taking the value of PublishDir into consideration for the
special case of the homepage "/".
Fixes #75
Diffstat (limited to 'hugolib/site_url_test.go')
-rw-r--r-- | hugolib/site_url_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hugolib/site_url_test.go b/hugolib/site_url_test.go index 3353e4a84..e506ee66b 100644 --- a/hugolib/site_url_test.go +++ b/hugolib/site_url_test.go @@ -49,8 +49,6 @@ func TestPageCount(t *testing.T) { s := &Site{Target: target} s.prepTemplates() must(s.addTemplate("indexes/blue.html", INDEX_TEMPLATE)) - //s.Files = append(s.Files, "blue/doc1.md") - //s.Files = append(s.Files, "blue/doc2.md") s.Pages = append(s.Pages, mustReturn(ReadFrom(strings.NewReader(SLUG_DOC_1), filepath.FromSlash("content/blue/doc1.md")))) s.Pages = append(s.Pages, mustReturn(ReadFrom(strings.NewReader(SLUG_DOC_2), filepath.FromSlash("content/blue/doc2.md")))) |