summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore20
-rw-r--r--.gitmodules0
-rw-r--r--.goxc.json6
-rw-r--r--.mailmap3
-rw-r--r--.travis.yml23
-rw-r--r--CONTRIBUTING.md161
-rw-r--r--Dockerfile27
-rw-r--r--LICENSE.md194
-rw-r--r--Makefile83
-rw-r--r--README.md111
-rw-r--r--appveyor.yml17
-rwxr-xr-xbench.sh35
-rwxr-xr-xbenchSite.sh9
-rw-r--r--bufferpool/bufpool.go38
-rw-r--r--bufferpool/bufpool_test.go27
-rw-r--r--cache/partitioned_lazy_cache.go80
-rw-r--r--cache/partitioned_lazy_cache_test.go138
-rw-r--r--commands/benchmark.go112
-rw-r--r--commands/check.go23
-rw-r--r--commands/commandeer.go62
-rw-r--r--commands/convert.go158
-rw-r--r--commands/env.go35
-rw-r--r--commands/gen.go23
-rw-r--r--commands/genautocomplete.go70
-rw-r--r--commands/gendoc.go86
-rw-r--r--commands/gendocshelper.go72
-rw-r--r--commands/genman.go66
-rw-r--r--commands/hugo.go1078
-rw-r--r--commands/hugo_windows.go27
-rw-r--r--commands/import_jekyll.go614
-rw-r--r--commands/import_jekyll_test.go126
-rw-r--r--commands/limit_darwin.go85
-rw-r--r--commands/limit_others.go32
-rw-r--r--commands/list.go161
-rw-r--r--commands/list_config.go66
-rw-r--r--commands/new.go399
-rw-r--r--commands/new_test.go122
-rw-r--r--commands/release.go68
-rw-r--r--commands/server.go315
-rw-r--r--commands/server_test.go58
-rw-r--r--commands/undraft.go155
-rw-r--r--commands/undraft_test.go87
-rw-r--r--commands/version.go80
-rw-r--r--config/configProvider.go26
-rw-r--r--content/templates/functions.md1088
-rw-r--r--create/content.go129
-rw-r--r--create/content_template_handler.go135
-rw-r--r--create/content_test.go198
-rw-r--r--deps/deps.go176
-rw-r--r--docs/.gitignore2
-rw-r--r--docs/README.md13
-rw-r--r--docs/archetypes/default.md (renamed from archetypes/default.md)0
-rw-r--r--docs/archetypes/showcase.md (renamed from archetypes/showcase.md)0
-rw-r--r--docs/config.toml (renamed from config.toml)0
-rw-r--r--docs/content/commands/hugo.md (renamed from content/commands/hugo.md)0
-rw-r--r--docs/content/commands/hugo_benchmark.md (renamed from content/commands/hugo_benchmark.md)0
-rw-r--r--docs/content/commands/hugo_check.md (renamed from content/commands/hugo_check.md)0
-rw-r--r--docs/content/commands/hugo_check_ulimit.md (renamed from content/commands/hugo_check_ulimit.md)0
-rw-r--r--docs/content/commands/hugo_config.md (renamed from content/commands/hugo_config.md)0
-rw-r--r--docs/content/commands/hugo_convert.md (renamed from content/commands/hugo_convert.md)0
-rw-r--r--docs/content/commands/hugo_convert_toJSON.md (renamed from content/commands/hugo_convert_toJSON.md)0
-rw-r--r--docs/content/commands/hugo_convert_toTOML.md (renamed from content/commands/hugo_convert_toTOML.md)0
-rw-r--r--docs/content/commands/hugo_convert_toYAML.md (renamed from content/commands/hugo_convert_toYAML.md)0
-rw-r--r--docs/content/commands/hugo_env.md (renamed from content/commands/hugo_env.md)0
-rw-r--r--docs/content/commands/hugo_gen.md (renamed from content/commands/hugo_gen.md)0
-rw-r--r--docs/content/commands/hugo_gen_autocomplete.md (renamed from content/commands/hugo_gen_autocomplete.md)0
-rw-r--r--docs/content/commands/hugo_gen_doc.md (renamed from content/commands/hugo_gen_doc.md)0
-rw-r--r--docs/content/commands/hugo_gen_man.md (renamed from content/commands/hugo_gen_man.md)0
-rw-r--r--docs/content/commands/hugo_import.md (renamed from content/commands/hugo_import.md)0
-rw-r--r--docs/content/commands/hugo_import_jekyll.md (renamed from content/commands/hugo_import_jekyll.md)0
-rw-r--r--docs/content/commands/hugo_list.md (renamed from content/commands/hugo_list.md)0
-rw-r--r--docs/content/commands/hugo_list_drafts.md (renamed from content/commands/hugo_list_drafts.md)0
-rw-r--r--docs/content/commands/hugo_list_expired.md (renamed from content/commands/hugo_list_expired.md)0
-rw-r--r--docs/content/commands/hugo_list_future.md (renamed from content/commands/hugo_list_future.md)0
-rw-r--r--docs/content/commands/hugo_new.md (renamed from content/commands/hugo_new.md)0
-rw-r--r--docs/content/commands/hugo_new_site.md (renamed from content/commands/hugo_new_site.md)0
-rw-r--r--docs/content/commands/hugo_new_theme.md (renamed from content/commands/hugo_new_theme.md)0
-rw-r--r--docs/content/commands/hugo_server.md (renamed from content/commands/hugo_server.md)0
-rw-r--r--docs/content/commands/hugo_undraft.md (renamed from content/commands/hugo_undraft.md)0
-rw-r--r--docs/content/commands/hugo_version.md (renamed from content/commands/hugo_version.md)0
-rw-r--r--docs/content/community/contributing.md (renamed from content/community/contributing.md)0
-rw-r--r--docs/content/community/mailing-list.md (renamed from content/community/mailing-list.md)0
-rw-r--r--docs/content/community/press.md (renamed from content/community/press.md)0
-rw-r--r--docs/content/content/archetypes.md (renamed from content/content/archetypes.md)0
-rw-r--r--docs/content/content/example.md (renamed from content/content/example.md)0
-rw-r--r--docs/content/content/front-matter.md (renamed from content/content/front-matter.md)0
-rw-r--r--docs/content/content/markdown-extras.md (renamed from content/content/markdown-extras.md)0
-rw-r--r--docs/content/content/multilingual.md (renamed from content/content/multilingual.md)0
-rw-r--r--docs/content/content/ordering.md (renamed from content/content/ordering.md)0
-rw-r--r--docs/content/content/organization.md (renamed from content/content/organization.md)0
-rw-r--r--docs/content/content/sections.md (renamed from content/content/sections.md)0
-rw-r--r--docs/content/content/summaries.md (renamed from content/content/summaries.md)0
-rw-r--r--docs/content/content/supported-formats.md (renamed from content/content/supported-formats.md)0
-rw-r--r--docs/content/content/types.md (renamed from content/content/types.md)0
-rw-r--r--docs/content/content/using-index-md.md (renamed from content/content/using-index-md.md)0
-rw-r--r--docs/content/extras/aliases.md (renamed from content/extras/aliases.md)0
-rw-r--r--docs/content/extras/analytics.md (renamed from content/extras/analytics.md)0
-rw-r--r--docs/content/extras/builders.md (renamed from content/extras/builders.md)0
-rw-r--r--docs/content/extras/comments.md (renamed from content/extras/comments.md)0
-rw-r--r--docs/content/extras/cross