mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 15:10:35 +03:00
permitting empty files again. Fixing some tests to now pass.
This commit is contained in:
parent
3395e1cb92
commit
fb7d45e613
10 changed files with 73 additions and 39 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
)
|
||||
|
||||
func pageFromString(in, filename string) (*Page, error) {
|
||||
return ReadFrom(strings.NewReader(in), filename)
|
||||
return NewPageFrom(strings.NewReader(in), filename)
|
||||
}
|
||||
|
||||
func CheckShortCodeMatch(t *testing.T, input, expected string, template Template) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue