mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
f039e3be9e
Lots of cleanups here: - Refactor InterfaceToConfig and InterfaceToFrontMatter to use io.Writer. - Simplify InterfaceToFrontMatter by wrapping InterfaceToConfig. - Export FrontmatterType since we return it in DetectFrontMatter. - Refactor removeTOMLIdentifier to avoid blindly replacing "+++". - Update HandleJSONMetaData to return an empty map on nil input. - Updates vendored goorgeous package and test for org-mode frontmatter. - Add tests and godoc comments. Coverage for parser package increased from 45.2% to 85.2%. |
||
---|---|---|
.. | ||
benchmark.go | ||
check.go | ||
commandeer.go | ||
convert.go | ||
env.go | ||
gen.go | ||
genautocomplete.go | ||
gendoc.go | ||
genman.go | ||
hugo.go | ||
hugo_windows.go | ||
import_jekyll.go | ||
import_jekyll_test.go | ||
limit_darwin.go | ||
limit_others.go | ||
list.go | ||
list_config.go | ||
new.go | ||
new_test.go | ||
server.go | ||
server_test.go | ||
undraft.go | ||
undraft_test.go | ||
version.go |