diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md index a802271bd..2b229c3a4 100644 --- a/content/en/commands/hugo.md +++ b/content/en/commands/hugo.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo" slug: hugo url: /commands/hugo/ @@ -15,7 +15,7 @@ hugo is the main command, used to build your Hugo site. Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go. -Complete documentation is available at https://gohugo.io/. +Complete documentation is available at http://gohugo.io/. ``` hugo [flags] @@ -24,7 +24,7 @@ hugo [flags] ### Options ``` - -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content -F, --buildFuture include content with publishdate in the future @@ -79,4 +79,4 @@ hugo [flags] * [hugo server](/commands/hugo_server/) - A high performance webserver * [hugo version](/commands/hugo_version/) - Print the version number of Hugo -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_check.md b/content/en/commands/hugo_check.md index fc727476a..59a38acc8 100644 --- a/content/en/commands/hugo_check.md +++ b/content/en/commands/hugo_check.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo check" slug: hugo_check url: /commands/hugo_check/ @@ -40,4 +40,4 @@ Contains some verification checks * [hugo](/commands/hugo/) - hugo builds your site * [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_check_ulimit.md b/content/en/commands/hugo_check_ulimit.md index 478c9a850..33327ecfd 100644 --- a/content/en/commands/hugo_check_ulimit.md +++ b/content/en/commands/hugo_check_ulimit.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo check ulimit" slug: hugo_check_ulimit url: /commands/hugo_check_ulimit/ @@ -44,4 +44,4 @@ hugo check ulimit [flags] * [hugo check](/commands/hugo_check/) - Contains some verification checks -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_config.md b/content/en/commands/hugo_config.md index 6e1094903..6d24a660b 100644 --- a/content/en/commands/hugo_config.md +++ b/content/en/commands/hugo_config.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo config" slug: hugo_config url: /commands/hugo_config/ @@ -44,4 +44,4 @@ hugo config [flags] * [hugo](/commands/hugo/) - hugo builds your site * [hugo config mounts](/commands/hugo_config_mounts/) - Print the configured file mounts -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_config_mounts.md b/content/en/commands/hugo_config_mounts.md index 98cd6f9eb..05ee96611 100644 --- a/content/en/commands/hugo_config_mounts.md +++ b/content/en/commands/hugo_config_mounts.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo config mounts" slug: hugo_config_mounts url: /commands/hugo_config_mounts/ @@ -43,4 +43,4 @@ hugo config mounts [flags] * [hugo config](/commands/hugo_config/) - Print the site configuration -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_convert.md b/content/en/commands/hugo_convert.md index 1e85b72f1..1ae5fad5f 100644 --- a/content/en/commands/hugo_convert.md +++ b/content/en/commands/hugo_convert.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo convert" slug: hugo_convert url: /commands/hugo_convert/ @@ -46,4 +46,4 @@ See convert's subcommands toJSON, toTOML and toYAML for more information. * [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML * [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_convert_toJSON.md b/content/en/commands/hugo_convert_toJSON.md index 484d942e6..573ee4f2d 100644 --- a/content/en/commands/hugo_convert_toJSON.md +++ b/content/en/commands/hugo_convert_toJSON.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo convert toJSON" slug: hugo_convert_toJSON url: /commands/hugo_convert_tojson/ @@ -46,4 +46,4 @@ hugo convert toJSON [flags] * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_convert_toTOML.md b/content/en/commands/hugo_convert_toTOML.md index 53f25cf66..394f9eded 100644 --- a/content/en/commands/hugo_convert_toTOML.md +++ b/content/en/commands/hugo_convert_toTOML.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo convert toTOML" slug: hugo_convert_toTOML url: /commands/hugo_convert_totoml/ @@ -46,4 +46,4 @@ hugo convert toTOML [flags] * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_convert_toYAML.md b/content/en/commands/hugo_convert_toYAML.md index 4173883d8..d7a06c202 100644 --- a/content/en/commands/hugo_convert_toYAML.md +++ b/content/en/commands/hugo_convert_toYAML.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo convert toYAML" slug: hugo_convert_toYAML url: /commands/hugo_convert_toyaml/ @@ -46,4 +46,4 @@ hugo convert toYAML [flags] * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_deploy.md b/content/en/commands/hugo_deploy.md index 054a16d42..75f5eaa06 100644 --- a/content/en/commands/hugo_deploy.md +++ b/content/en/commands/hugo_deploy.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo deploy" slug: hugo_deploy url: /commands/hugo_deploy/ @@ -27,7 +27,7 @@ hugo deploy [flags] --dryRun dry run --force force upload of all files -h, --help help for deploy - --invalidateCDN invalidate the CDN cache via the cloudFrontDistributionID listed in the deployment target (default true) + --invalidateCDN invalidate the CDN cache listed in the deployment target (default true) --maxDeletes int maximum # of files to delete, or -1 to disable (default 256) --target string target deployment from deployments section in config file; defaults to the first one ``` @@ -53,4 +53,4 @@ hugo deploy [flags] * [hugo](/commands/hugo/) - hugo builds your site -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_env.md b/content/en/commands/hugo_env.md index 5d134d693..0f1fffb1c 100644 --- a/content/en/commands/hugo_env.md +++ b/content/en/commands/hugo_env.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo env" slug: hugo_env url: /commands/hugo_env/ @@ -43,4 +43,4 @@ hugo env [flags] * [hugo](/commands/hugo/) - hugo builds your site -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_gen.md b/content/en/commands/hugo_gen.md index e195882de..185436fae 100644 --- a/content/en/commands/hugo_gen.md +++ b/content/en/commands/hugo_gen.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo gen" slug: hugo_gen url: /commands/hugo_gen/ @@ -43,4 +43,4 @@ A collection of several useful generators. * [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI. * [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_gen_autocomplete.md b/content/en/commands/hugo_gen_autocomplete.md index 0c4657a87..450653f3e 100644 --- a/content/en/commands/hugo_gen_autocomplete.md +++ b/content/en/commands/hugo_gen_autocomplete.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo gen autocomplete" slug: hugo_gen_autocomplete url: /commands/hugo_gen_autocomplete/ @@ -61,4 +61,4 @@ hugo gen autocomplete [flags] * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_gen_chromastyles.md b/content/en/commands/hugo_gen_chromastyles.md index c893a7f33..d99a9c957 100644 --- a/content/en/commands/hugo_gen_chromastyles.md +++ b/content/en/commands/hugo_gen_chromastyles.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo gen chromastyles" slug: hugo_gen_chromastyles url: /commands/hugo_gen_chromastyles/ @@ -48,4 +48,4 @@ hugo gen chromastyles [flags] * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_gen_doc.md b/content/en/commands/hugo_gen_doc.md index cda495090..0513a05b7 100644 --- a/content/en/commands/hugo_gen_doc.md +++ b/content/en/commands/hugo_gen_doc.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo gen doc" slug: hugo_gen_doc url: /commands/hugo_gen_doc/ @@ -13,7 +13,7 @@ Generate Markdown documentation for the Hugo CLI. Generate Markdown documentation for the Hugo CLI. This command is, mostly, used to create up-to-date documentation -of Hugo's command-line interface for https://gohugo.io/. +of Hugo's command-line interface for http://gohugo.io/. It creates one Markdown file per command with front matter suitable for rendering in Hugo. @@ -50,4 +50,4 @@ hugo gen doc [flags] * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_gen_man.md b/content/en/commands/hugo_gen_man.md index a6f7b7534..da8013723 100644 --- a/content/en/commands/hugo_gen_man.md +++ b/content/en/commands/hugo_gen_man.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo gen man" slug: hugo_gen_man url: /commands/hugo_gen_man/ @@ -46,4 +46,4 @@ hugo gen man [flags] * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_import.md b/content/en/commands/hugo_import.md index 67b91e66c..4796bbff0 100644 --- a/content/en/commands/hugo_import.md +++ b/content/en/commands/hugo_import.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo import" slug: hugo_import url: /commands/hugo_import/ @@ -42,4 +42,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p * [hugo](/commands/hugo/) - hugo builds your site * [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_import_jekyll.md b/content/en/commands/hugo_import_jekyll.md index e126c2107..0fd2311ec 100644 --- a/content/en/commands/hugo_import_jekyll.md +++ b/content/en/commands/hugo_import_jekyll.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo import jekyll" slug: hugo_import_jekyll url: /commands/hugo_import_jekyll/ @@ -46,4 +46,4 @@ hugo import jekyll [flags] * [hugo import](/commands/hugo_import/) - Import your site from others. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_list.md b/content/en/commands/hugo_list.md index 16bd1933e..91f09e430 100644 --- a/content/en/commands/hugo_list.md +++ b/content/en/commands/hugo_list.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo list" slug: hugo_list url: /commands/hugo_list/ @@ -45,4 +45,4 @@ List requires a subcommand, e.g. `hugo list drafts`. * [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired * [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_list_all.md b/content/en/commands/hugo_list_all.md index 6a820ee18..5abcc0595 100644 --- a/content/en/commands/hugo_list_all.md +++ b/content/en/commands/hugo_list_all.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo list all" slug: hugo_list_all url: /commands/hugo_list_all/ @@ -43,4 +43,4 @@ hugo list all [flags] * [hugo list](/commands/hugo_list/) - Listing out various types of content -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_list_drafts.md b/content/en/commands/hugo_list_drafts.md index 2dff18040..4e8803831 100644 --- a/content/en/commands/hugo_list_drafts.md +++ b/content/en/commands/hugo_list_drafts.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo list drafts" slug: hugo_list_drafts url: /commands/hugo_list_drafts/ @@ -43,4 +43,4 @@ hugo list drafts [flags] * [hugo list](/commands/hugo_list/) - Listing out various types of content -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_list_expired.md b/content/en/commands/hugo_list_expired.md index 1703d9277..48d430c5a 100644 --- a/content/en/commands/hugo_list_expired.md +++ b/content/en/commands/hugo_list_expired.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo list expired" slug: hugo_list_expired url: /commands/hugo_list_expired/ @@ -43,4 +43,4 @@ hugo list expired [flags] * [hugo list](/commands/hugo_list/) - Listing out various types of content -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_list_future.md b/content/en/commands/hugo_list_future.md index bb4621484..85f957f31 100644 --- a/content/en/commands/hugo_list_future.md +++ b/content/en/commands/hugo_list_future.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo list future" slug: hugo_list_future url: /commands/hugo_list_future/ @@ -43,4 +43,4 @@ hugo list future [flags] * [hugo list](/commands/hugo_list/) - Listing out various types of content -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod.md b/content/en/commands/hugo_mod.md index f34cba2f3..e56ebd48e 100644 --- a/content/en/commands/hugo_mod.md +++ b/content/en/commands/hugo_mod.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo mod" slug: hugo_mod url: /commands/hugo_mod/ @@ -27,7 +27,7 @@ See https://gohugo.io/hugo-modules/ for more information. ### Options ``` - -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content -F, --buildFuture include content with publishdate in the future @@ -73,11 +73,12 @@ See https://gohugo.io/hugo-modules/ for more information. ### SEE ALSO * [hugo](/commands/hugo/) - hugo builds your site -* [hugo mod clean](/commands/hugo_mod_clean/) - Delete the entire Hugo Module cache. +* [hugo mod clean](/commands/hugo_mod_clean/) - Delete the Hugo Module cache for the current project. * [hugo mod get](/commands/hugo_mod_get/) - Resolves dependencies in your current Hugo Project. * [hugo mod graph](/commands/hugo_mod_graph/) - Print a module dependency graph. * [hugo mod init](/commands/hugo_mod_init/) - Initialize this project as a Hugo Module. * [hugo mod tidy](/commands/hugo_mod_tidy/) - Remove unused entries in go.mod and go.sum. * [hugo mod vendor](/commands/hugo_mod_vendor/) - Vendor all module dependencies into the _vendor directory. +* [hugo mod verify](/commands/hugo_mod_verify/) - Verify dependencies. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod_clean.md b/content/en/commands/hugo_mod_clean.md index ef21ddfcd..db35a9522 100644 --- a/content/en/commands/hugo_mod_clean.md +++ b/content/en/commands/hugo_mod_clean.md @@ -1,16 +1,16 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo mod clean" slug: hugo_mod_clean url: /commands/hugo_mod_clean/ --- ## hugo mod clean -Delete the entire Hugo Module cache. +Delete the Hugo Module cache for the current project. ### Synopsis -Delete the entire Hugo Module cache. +Delete the Hugo Module cache for the current project. Note that after you run this command, all of your dependencies will be re-downloaded next time you run "hugo". @@ -25,7 +25,8 @@ hugo mod clean [flags] ### Options ``` - -h, --help help for clean + -h, --help help for clean + --pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*" ``` ### Options inherited from parent commands @@ -49,4 +50,4 @@ hugo mod clean [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod_get.md b/content/en/commands/hugo_mod_get.md index 678bcded5..dfb02c56b 100644 --- a/content/en/commands/hugo_mod_get.md +++ b/content/en/commands/hugo_mod_get.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo mod get" slug: hugo_mod_get url: /commands/hugo_mod_get/ @@ -26,6 +26,7 @@ Install a specific version: Install the latest versions of all module dependencies: hugo mod get -u + hugo mod get -u ./... (recursive) Run "go help get" for more information. All flags available for "go get" is also relevant here. @@ -68,4 +69,4 @@ hugo mod get [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod_graph.md b/content/en/commands/hugo_mod_graph.md index 397283180..2c0a81d53 100644 --- a/content/en/commands/hugo_mod_graph.md +++ b/content/en/commands/hugo_mod_graph.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo mod graph" slug: hugo_mod_graph url: /commands/hugo_mod_graph/ @@ -45,4 +45,4 @@ hugo mod graph [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod_init.md b/content/en/commands/hugo_mod_init.md index 53c5412f1..09c0ef78f 100644 --- a/content/en/commands/hugo_mod_init.md +++ b/content/en/commands/hugo_mod_init.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo mod init" slug: hugo_mod_init url: /commands/hugo_mod_init/ @@ -50,4 +50,4 @@ hugo mod init [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod_tidy.md b/content/en/commands/hugo_mod_tidy.md index 68e7ac2d1..4da43a6ae 100644 --- a/content/en/commands/hugo_mod_tidy.md +++ b/content/en/commands/hugo_mod_tidy.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo mod tidy" slug: hugo_mod_tidy url: /commands/hugo_mod_tidy/ @@ -43,4 +43,4 @@ hugo mod tidy [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod_vendor.md b/content/en/commands/hugo_mod_vendor.md index f3beb1253..6c1cb5fea 100644 --- a/content/en/commands/hugo_mod_vendor.md +++ b/content/en/commands/hugo_mod_vendor.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo mod vendor" slug: hugo_mod_vendor url: /commands/hugo_mod_vendor/ @@ -46,4 +46,4 @@ hugo mod vendor [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_mod_verify.md b/content/en/commands/hugo_mod_verify.md new file mode 100644 index 000000000..99e838975 --- /dev/null +++ b/content/en/commands/hugo_mod_verify.md @@ -0,0 +1,48 @@ +--- +date: 2020-02-19 +title: "hugo mod verify" +slug: hugo_mod_verify +url: /commands/hugo_mod_verify/ +--- +## hugo mod verify + +Verify dependencies. + +### Synopsis + +Verify checks that the dependencies of the current module, which are stored in a local downloaded source cache, have not been modified since being downloaded. + + +``` +hugo mod verify [flags] +``` + +### Options + +``` + --clean delete module cache for dependencies that fail verification + -h, --help help for verify +``` + +### Options inherited from parent commands + +``` + --config string config file (default is path/config.yaml|json|toml) + --configDir string config dir (default "config") + --debug debug output + -e, --environment string build environment + --ignoreVendor ignores any _vendor directory + --log enable Logging + --logFile string log File path (if set, logging enabled automatically) + --quiet build in quiet mode + -s, --source string filesystem path to read files relative from + --themesDir string filesystem path to themes directory + -v, --verbose verbose output + --verboseLog verbose logging +``` + +### SEE ALSO + +* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. + +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_new.md b/content/en/commands/hugo_new.md index 4587f4475..aa04528fb 100644 --- a/content/en/commands/hugo_new.md +++ b/content/en/commands/hugo_new.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo new" slug: hugo_new url: /commands/hugo_new/ @@ -26,7 +26,7 @@ hugo new [path] [flags] ### Options ``` - -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content -F, --buildFuture include content with publishdate in the future @@ -77,4 +77,4 @@ hugo new [path] [flags] * [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton) * [hugo new theme](/commands/hugo_new_theme/) - Create a new theme -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_new_site.md b/content/en/commands/hugo_new_site.md index 29ab9e8ef..099ab3cb3 100644 --- a/content/en/commands/hugo_new_site.md +++ b/content/en/commands/hugo_new_site.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo new site" slug: hugo_new_site url: /commands/hugo_new_site/ @@ -47,4 +47,4 @@ hugo new site [path] [flags] * [hugo new](/commands/hugo_new/) - Create new content for your site -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_new_theme.md b/content/en/commands/hugo_new_theme.md index 8a97aad97..c82f1123d 100644 --- a/content/en/commands/hugo_new_theme.md +++ b/content/en/commands/hugo_new_theme.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo new theme" slug: hugo_new_theme url: /commands/hugo_new_theme/ @@ -46,4 +46,4 @@ hugo new theme [name] [flags] * [hugo new](/commands/hugo_new/) - Create new content for your site -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_server.md b/content/en/commands/hugo_server.md index 7d64bdc33..3d531a82e 100644 --- a/content/en/commands/hugo_server.md +++ b/content/en/commands/hugo_server.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo server" slug: hugo_server url: /commands/hugo_server/ @@ -31,7 +31,7 @@ hugo server [flags] ``` --appendPort append port to baseURL (default true) - -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ --bind string interface to which the server will bind (default "127.0.0.1") -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content @@ -90,4 +90,4 @@ hugo server [flags] * [hugo](/commands/hugo/) - hugo builds your site -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/commands/hugo_version.md b/content/en/commands/hugo_version.md index c0bc9359b..dafef5be1 100644 --- a/content/en/commands/hugo_version.md +++ b/content/en/commands/hugo_version.md @@ -1,5 +1,5 @@ --- -date: 2019-07-31 +date: 2020-02-19 title: "hugo version" slug: hugo_version url: /commands/hugo_version/ @@ -43,4 +43,4 @@ hugo version [flags] * [hugo](/commands/hugo/) - hugo builds your site -###### Auto generated by spf13/cobra on 31-Jul-2019 +###### Auto generated by spf13/cobra on 19-Feb-2020 diff --git a/content/en/hugo-modules/use-modules.md b/content/en/hugo-modules/use-modules.md index a7e74396b..85417b5bf 100644 --- a/content/en/hugo-modules/use-modules.md +++ b/content/en/hugo-modules/use-modules.md @@ -46,6 +46,15 @@ Some examples: ```bash hugo mod get -u ``` + +### Update All Modules Recursively + +{{< new-in "0.65.0" >}} + +```bash +hugo mod get -u ./... +``` + ### Update One Module ```bash diff --git a/content/en/news/0.65.0-relnotes/index.md b/content/en/news/0.65.0-relnotes/index.md new file mode 100644 index 000000000..65d7e9eec --- /dev/null +++ b/content/en/news/0.65.0-relnotes/index.md @@ -0,0 +1,131 @@ + +--- +date: 2020-02-20 +title: "0.65.0" +description: "0.65.0" +categories: ["Releases"] +--- + + **Hugo 0.65** generalizes how a page is packaged and published to be applicable to **any page**. This should solve some of the most common issues we see people ask and talk about on the [issue tracker](https://github.com/gohugoio/hugo/issues) and on the [forum](https://discourse.gohugo.io/). + +## Release Highlights + +### New in Hugo Core + +Any [branch node](https://gohugo.io/content-management/page-bundles/#branch-bundles) can now bundle resources (images, data files etc.), even the taxonomy nodes (e.g. /categories). + +List pages (sections and the home page) can now be added to taxonomies. + +The front matter fields that control when and if to publish a piece of content (`draft`, `publishDate`, `expiryDate`) now also works for list pages, and is recursive. + +We have added a new `_build` front matter keyword to provide fine-grained control over page publishing. The default values: + +```yaml +_build: + # Whether to add it to any of the page collections. + # Note that the page can still be found with .Site.GetPage. + list: true + + # Whether to render it. + render: true + + # Whether to publish its resources. These will still be published on demand, + # but enabling this can be useful if the originals (e.g. images) are + # never used. + publishResources: true +``` + +Note that all front matter keywords can be set in the [cascade](https://gohugo.io/content-management/front-matter#front-matter-cascade) on a branch node, which would be especially useful for `_build`. + +We have also upgraded to the latest LibSass (v3.6.3). Nothing remarkable functional new here, but it makes Hugo ready for the upcoming [Dart Backport](https://github.com/sass/libsass/pull/2918). + +### New in Hugo Modules + +There are several improvements to the tooling used in [Hugo Modules](https://gohugo.io/hugo-modules/). One bug fix, but also some improvements to make it easier to manage: + +* You can now recursively update your modules with `hugo mod get -u ./...` +* `hugo mod clean` will now only clean the cache for the current project and now also takes an optional module path pattern, e.g. `hugo mod clean --pattern "github.com/**"` +* A new command `hugo mod verify` is added to verify that the module cache matches the hashes in `go.sum`. Run with `hugo mod verify --clean` to delete any modules that fail this check. + +See [hugo mod](https://gohugo.io/commands/hugo_mod/#see-also). + +### Performance + +The new features listed above required a structural simplification, and we do watch our weight when doing this. And the benchmarks show that Hugo should, in general, be slightly faster. This is especially true if you're using taxonomies, and the partial rebuilding on content changes should be considerably faster. + +## Numbers + +This release represents **34 contributions by 6 contributors** to the main Hugo code base.[@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@satotake](https://github.com/satotake), [@QuLogic](https://github.com/QuLogic), and [@JaymoKang](https://github.com/JaymoKang) for their ongoing contributions. +And a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) and [@onedrawingperday](https://github.com/onedrawingperday) for their relentless work on keeping the themes site in pristine condition and to [@davidsneighbour](https://github.com/davidsneighbour) and [@kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site. + +Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), +which has received **7 contributions by 4 contributors**. A special thanks to [@coliff](https://github.com/coliff), [@bep](https://github.com/bep), [@tibnew](https://github.com/tibnew), and [@nerg4l](https://github.com/nerg4l) for their work on the documentation site. + +Hugo now has: + +* 41724+ [stars](https://github.com/gohugoio/hugo/stargazers) +* 439+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) +* 299+ [themes](http://themes.gohugo.io/) + +## Notes + +* `.GetPage "members.md"` (the Page method) will now only do relative lookups, which is what most people would expect. +* There have been a slight change of how disableKinds for regular pages: They will not be rendered on its own, but will be added to the site collections. + +## Enhancements + +### Templates + +* Adjust the RSS taxonomy logic [d73e3738](https://github.com/gohugoio/hugo/commit/d73e37387ca0012bd58bd3f36a0477854b41ab6e) [@bep](https://github.com/bep) [#6909](https://github.com/gohugoio/hugo/issues/6909) + +### Output + +* Handle disabled RSS even if it's defined in outputs [da54787c](https://github.com/gohugoio/hugo/commit/da54787cfa97789624e467a4451dfeb50f563e41) [@bep](https://github.com/bep) + +### Other + +* Regenerate CLI docs [a5ebdf7d](https://github.com/gohugoio/hugo/commit/a5ebdf7d17e6c6a9dc686cf8f7cd8e0a1bab5f2d) [@bep](https://github.com/bep) +* Improve "hugo mod clean" [dce210ab](https://github.com/gohugoio/hugo/commit/dce210ab56fc885818fc5d1a084a1c3ba84e7929) [@bep](https://github.com/bep) [#6907](https://github.com/gohugoio/hugo/issues/6907) +* Add "hugo mod verify" [0b96aba0](https://github.com/gohugoio/hugo/commit/0b96aba022d51cf9939605c029bb8dba806653a1) [@bep](https://github.com/bep) [#6907](https://github.com/gohugoio/hugo/issues/6907) +* Add Page.GetTerms [fa520a2d](https://github.com/gohugoio/hugo/commit/fa520a2d983b982394ad10088393fb303e48980a) [@bep](https://github.com/bep) [#6905](https://github.com/gohugoio/hugo/issues/6905) +* Add a list terms benchmark [7489a864](https://github.com/gohugoio/hugo/commit/7489a864591b6df03f435f40696c6ceeb4776ec9) [@bep](https://github.com/bep) [#6905](https://github.com/gohugoio/hugo/issues/6905) +* Use the tree for taxonomy.Pages() [b2dcd53e](https://github.com/gohugoio/hugo/commit/b2dcd53e3c0240c4afd21d1818fd180c2d1b9d34) [@bep](https://github.com/bep) +* Add some cagegories to the site collections benchmarks [36983e61](https://github.com/gohugoio/hugo/commit/36983e6189a717f1d4d1da6652621d7f8fe186ad) [@bep](https://github.com/bep) +* Do not try to get local themes in "hugo mod get" [20f2211f](https://github.com/gohugoio/hugo/commit/20f2211fce55e1811629245f9e5e4a2ac754d788) [@bep](https://github.com/bep) [#6893](https://github.com/gohugoio/hugo/issues/6893) +* Update goldmark-highlighting [a21a9373](https://github.com/gohugoio/hugo/commit/a21a9373e06091ab70d8a5f4da8ff43f7c609b4b) [@satotake](https://github.com/satotake) +* Support "hugo mod get -u ./..." [775c7c24](https://github.com/gohugoio/hugo/commit/775c7c2474d8797c96c9ac529a3cd93c0c2d3514) [@bep](https://github.com/bep) [#6828](https://github.com/gohugoio/hugo/issues/6828) +* Introduce a tree map for all content [eada236f](https://github.com/gohugoio/hugo/commit/eada236f87d9669885da1ff647672bb3dc6b4954) [@bep](https://github.com/bep) [#6312](https://github.com/gohugoio/hugo/issues/6312)[#6087](https://github.com/gohugoio/hugo/issues/6087)[#6738](https://github.com/gohugoio/hugo/issues/6738)[#6412](https://github.com/gohugoio/hugo/issues/6412)[#6743](https://github.com/gohugoio/hugo/issues/6743)[#6875](https://github.com/gohugoio/hugo/issues/6875)[#6034](https://github.com/gohugoio/hugo/issues/6034)[#6902](https://github.com/gohugoio/hugo/issues/6902)[#6173](https://github.com/gohugoio/hugo/issues/6173)[#6590](https://github.com/gohugoio/hugo/issues/6590) +* Another benchmark rename [e5329f13](https://github.com/gohugoio/hugo/commit/e5329f13c02b87f0c30f8837759c810cd90ff8da) [@bep](https://github.com/bep) +* Rename the Edit benchmarks [5b145ddc](https://github.com/gohugoio/hugo/commit/5b145ddc4c951a827e1ac00444dc4719e53e0885) [@bep](https://github.com/bep) +* Refactor a benchmark to make it runnable as test [54bdcaac](https://github.com/gohugoio/hugo/commit/54bdcaacaedec178554e696f34647801bbe61362) [@bep](https://github.com/bep) +* Add benchmark for content edits [1622510a](https://github.com/gohugoio/hugo/commit/1622510a5c651b59a79f64e9dc3cacd24832ec0b) [@bep](https://github.com/bep) +* Add "go mod verify" to build scripts [56d0b658](https://github.com/gohugoio/hugo/commit/56d0b658879bbf476810d013176d6568553aa71e) [@bep](https://github.com/bep) +* Add git to Dockerfile [75c3787f](https://github.com/gohugoio/hugo/commit/75c3787fc254d933fa11e5c39d978bfa1a21a371) [@JaymoKang](https://github.com/JaymoKang) +* Update go.sum [9babb1f0](https://github.com/gohugoio/hugo/commit/9babb1f0c4fca048b0339f6ce3618f88d34e0457) [@bep](https://github.com/bep) +* Rename doWithCommandeer to cfgInit/cfgSetAndInit [8a5124d6](https://github.com/gohugoio/hugo/commit/8a5124d6b38156cb6f765ac7492513ac7c0d90b2) [@MarkRosemaker](https://github.com/MarkRosemaker) +* Update golibsass [898a0a96](https://github.com/gohugoio/hugo/commit/898a0a96afd472fad8fe70be71f6cb00a4267c4a) [@bep](https://github.com/bep) [#6885](https://github.com/gohugoio/hugo/issues/6885) +* Shuffle test files before insertion [3b721110](https://github.com/gohugoio/hugo/commit/3b721110d560c8831c282e6e7a5c510fe7a5129a) [@bep](https://github.com/bep) +* Update to LibSass v3.6.3 [40ba7e6d](https://github.com/gohugoio/hugo/commit/40ba7e6d63c1a0734f257a642e46eb1572116a32) [@bep](https://github.com/bep) [#6862](https://github.com/gohugoio/hugo/issues/6862) +* Update Go version requirement [23ea4318](https://github.com/gohugoio/hugo/commit/23ea43180b84e35d99e88083a83e7ca1916b3b36) [@bep](https://github.com/bep) [#6853](https://github.com/gohugoio/hugo/issues/6853) + +## Fixes + +### Templates + +* Fix RSS template for the terms listing [aa3e1830](https://github.com/gohugoio/hugo/commit/aa3e1830568cabaa8bf3277feeba6cb48746e40c) [@bep](https://github.com/bep) [#6909](https://github.com/gohugoio/hugo/issues/6909) + +### Other + +* Fix lazy publishing with publishResources=false [9bdedb25](https://github.com/gohugoio/hugo/commit/9bdedb251c7cd8f8af800c7d9914cf84292c5c50) [@bep](https://github.com/bep) [#6914](https://github.com/gohugoio/hugo/issues/6914) +* Fix goMinorVersion on non-final Go releases [c7975b48](https://github.com/gohugoio/hugo/commit/c7975b48b6532823868a6aa8c93eb76caa46c570) [@QuLogic](https://github.com/QuLogic) +* Fix taxonomy [1b7acfe7](https://github.com/gohugoio/hugo/commit/1b7acfe7634a5d7bbc597ef4dddf4babce5666c5) [@bep](https://github.com/bep) +* Fix RenderString for pages without content [19e12caf](https://github.com/gohugoio/hugo/commit/19e12caf8c90516e3b803ae8a40b907bd89dc96c) [@bep](https://github.com/bep) [#6882](https://github.com/gohugoio/hugo/issues/6882) +* Fix chroma highlight [3c568ad0](https://github.com/gohugoio/hugo/commit/3c568ad0139c79e5c0596ca40637512d71401afc) [@satotake](https://github.com/satotake) [#6877](https://github.com/gohugoio/hugo/issues/6877)[#6856](https://github.com/gohugoio/hugo/issues/6856) +* Fix mount with hole regression [b78576fd](https://github.com/gohugoio/hugo/commit/b78576fd38a76bbdaab5ad21228c8e5a559090b1) [@bep](https://github.com/bep) [#6854](https://github.com/gohugoio/hugo/issues/6854) +* Fix bundle resource ordering regression [18888e09](https://github.com/gohugoio/hugo/commit/18888e09bbb5325bdd63f2cd93116ff490dd37ab) [@bep](https://github.com/bep) [#6851](https://github.com/gohugoio/hugo/issues/6851) +* Fix note about CGO [7f0ebd4a](https://github.com/gohugoio/hugo/commit/7f0ebd4a3c9e016afddc2cf5e7dfe6a820aa099a) [@moorereason](https://github.com/moorereason) + + + + + diff --git a/content/en/templates/taxonomy-templates.md b/content/en/templates/taxonomy-templates.md index b82a5175c..bef2d3226 100644 --- a/content/en/templates/taxonomy-templates.md +++ b/content/en/templates/taxonomy-templates.md @@ -216,6 +216,18 @@ Because we are leveraging the front matter system to define taxonomies for conte ### Example: List Tags in a Single Page Template +{{< new-in "0.65.0" >}} + +```go-html-template +