hugo/commands
Cameron Moore 9323707b32 create: Refactor NewContent to be testable
NewContent is refactored to use the afero.Fs interface that should allow
full testing.  This commit also pulls the metadata creation logic out of
NewContent and into a separate function to decrease the cyclomatic
complexity of NewContent.
2016-03-20 23:51:17 +01:00
..
benchmark.go Export MainSite var 2016-02-14 13:50:03 +01:00
check.go Clean flags 2016-02-05 21:18:45 +01:00
convert.go Unexport the remaining vars in hugo command 2016-02-05 22:58:17 +01:00
gen.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
genautocomplete.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
gendoc.go update to use cobra's sub package doc 2015-12-24 10:31:44 -05:00
genman.go update to use cobra's sub package doc 2015-12-24 10:31:44 -05:00
hugo.go Ability to config layout and content dir via cli 2016-03-11 23:42:27 +01:00
hugo_windows.go Move cobra.MousetrapHelpText to hugo_windows.go 2015-12-16 21:26:47 -07:00
import_jekyll.go Do not fail on unknown Jekyll file 2015-12-14 15:30:58 +01:00
import_jekyll_test.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
limit_darwin.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
limit_others.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
list.go Unexport the remaining vars in hugo command 2016-02-05 22:58:17 +01:00
list_config.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
new.go create: Refactor NewContent to be testable 2016-03-20 23:51:17 +01:00
new_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
server.go Add json mime extension type 2016-03-06 14:10:06 +01:00
server_test.go Unexport the remaining vars in hugo command 2016-02-05 22:58:17 +01:00
undraft.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
undraft_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
version.go commands: Remove unused code 2016-03-14 15:24:42 +01:00