diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md index 2b229c3a4..fe519d397 100644 --- a/content/en/commands/hugo.md +++ b/content/en/commands/hugo.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo" slug: hugo url: /commands/hugo/ @@ -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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_check.md b/content/en/commands/hugo_check.md index 59a38acc8..7c515e48d 100644 --- a/content/en/commands/hugo_check.md +++ b/content/en/commands/hugo_check.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_check_ulimit.md b/content/en/commands/hugo_check_ulimit.md index 33327ecfd..fec6f7a37 100644 --- a/content/en/commands/hugo_check_ulimit.md +++ b/content/en/commands/hugo_check_ulimit.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_config.md b/content/en/commands/hugo_config.md index 6d24a660b..40b947851 100644 --- a/content/en/commands/hugo_config.md +++ b/content/en/commands/hugo_config.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_config_mounts.md b/content/en/commands/hugo_config_mounts.md index 05ee96611..c2de54812 100644 --- a/content/en/commands/hugo_config_mounts.md +++ b/content/en/commands/hugo_config_mounts.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_convert.md b/content/en/commands/hugo_convert.md index 1ae5fad5f..47132c573 100644 --- a/content/en/commands/hugo_convert.md +++ b/content/en/commands/hugo_convert.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_convert_toJSON.md b/content/en/commands/hugo_convert_toJSON.md index 573ee4f2d..df46d01d5 100644 --- a/content/en/commands/hugo_convert_toJSON.md +++ b/content/en/commands/hugo_convert_toJSON.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_convert_toTOML.md b/content/en/commands/hugo_convert_toTOML.md index 394f9eded..dd80cb7a5 100644 --- a/content/en/commands/hugo_convert_toTOML.md +++ b/content/en/commands/hugo_convert_toTOML.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_convert_toYAML.md b/content/en/commands/hugo_convert_toYAML.md index d7a06c202..9397aee34 100644 --- a/content/en/commands/hugo_convert_toYAML.md +++ b/content/en/commands/hugo_convert_toYAML.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_deploy.md b/content/en/commands/hugo_deploy.md index 75f5eaa06..ed208fc68 100644 --- a/content/en/commands/hugo_deploy.md +++ b/content/en/commands/hugo_deploy.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo deploy" slug: hugo_deploy url: /commands/hugo_deploy/ @@ -53,4 +53,4 @@ hugo deploy [flags] * [hugo](/commands/hugo/) - hugo builds your site -###### Auto generated by spf13/cobra on 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_env.md b/content/en/commands/hugo_env.md index 0f1fffb1c..1344f495d 100644 --- a/content/en/commands/hugo_env.md +++ b/content/en/commands/hugo_env.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_gen.md b/content/en/commands/hugo_gen.md index 185436fae..44ca1a12e 100644 --- a/content/en/commands/hugo_gen.md +++ b/content/en/commands/hugo_gen.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_gen_autocomplete.md b/content/en/commands/hugo_gen_autocomplete.md index 450653f3e..f0e82ede1 100644 --- a/content/en/commands/hugo_gen_autocomplete.md +++ b/content/en/commands/hugo_gen_autocomplete.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_gen_chromastyles.md b/content/en/commands/hugo_gen_chromastyles.md index d99a9c957..198fe1db6 100644 --- a/content/en/commands/hugo_gen_chromastyles.md +++ b/content/en/commands/hugo_gen_chromastyles.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_gen_doc.md b/content/en/commands/hugo_gen_doc.md index 0513a05b7..2c003a972 100644 --- a/content/en/commands/hugo_gen_doc.md +++ b/content/en/commands/hugo_gen_doc.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo gen doc" slug: hugo_gen_doc url: /commands/hugo_gen_doc/ @@ -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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_gen_man.md b/content/en/commands/hugo_gen_man.md index da8013723..47416cd23 100644 --- a/content/en/commands/hugo_gen_man.md +++ b/content/en/commands/hugo_gen_man.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_import.md b/content/en/commands/hugo_import.md index 4796bbff0..7b2b5cf5d 100644 --- a/content/en/commands/hugo_import.md +++ b/content/en/commands/hugo_import.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_import_jekyll.md b/content/en/commands/hugo_import_jekyll.md index 0fd2311ec..006c67358 100644 --- a/content/en/commands/hugo_import_jekyll.md +++ b/content/en/commands/hugo_import_jekyll.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_list.md b/content/en/commands/hugo_list.md index 91f09e430..bd15cb0fe 100644 --- a/content/en/commands/hugo_list.md +++ b/content/en/commands/hugo_list.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_list_all.md b/content/en/commands/hugo_list_all.md index 5abcc0595..73456867d 100644 --- a/content/en/commands/hugo_list_all.md +++ b/content/en/commands/hugo_list_all.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_list_drafts.md b/content/en/commands/hugo_list_drafts.md index 4e8803831..4806ee560 100644 --- a/content/en/commands/hugo_list_drafts.md +++ b/content/en/commands/hugo_list_drafts.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_list_expired.md b/content/en/commands/hugo_list_expired.md index 48d430c5a..c6fc46c5f 100644 --- a/content/en/commands/hugo_list_expired.md +++ b/content/en/commands/hugo_list_expired.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_list_future.md b/content/en/commands/hugo_list_future.md index 85f957f31..070104f52 100644 --- a/content/en/commands/hugo_list_future.md +++ b/content/en/commands/hugo_list_future.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod.md b/content/en/commands/hugo_mod.md index e56ebd48e..64ccb14b3 100644 --- a/content/en/commands/hugo_mod.md +++ b/content/en/commands/hugo_mod.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo mod" slug: hugo_mod url: /commands/hugo_mod/ @@ -81,4 +81,4 @@ See https://gohugo.io/hugo-modules/ for more information. * [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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod_clean.md b/content/en/commands/hugo_mod_clean.md index db35a9522..ff982f9f6 100644 --- a/content/en/commands/hugo_mod_clean.md +++ b/content/en/commands/hugo_mod_clean.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo mod clean" slug: hugo_mod_clean url: /commands/hugo_mod_clean/ @@ -25,6 +25,7 @@ hugo mod clean [flags] ### Options ``` + --all clean entire module cache -h, --help help for clean --pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*" ``` @@ -50,4 +51,4 @@ hugo mod clean [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod_get.md b/content/en/commands/hugo_mod_get.md index dfb02c56b..7de0048bb 100644 --- a/content/en/commands/hugo_mod_get.md +++ b/content/en/commands/hugo_mod_get.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo mod get" slug: hugo_mod_get url: /commands/hugo_mod_get/ @@ -69,4 +69,4 @@ hugo mod get [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod_graph.md b/content/en/commands/hugo_mod_graph.md index 2c0a81d53..ee01c8436 100644 --- a/content/en/commands/hugo_mod_graph.md +++ b/content/en/commands/hugo_mod_graph.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod_init.md b/content/en/commands/hugo_mod_init.md index 09c0ef78f..742df7c2a 100644 --- a/content/en/commands/hugo_mod_init.md +++ b/content/en/commands/hugo_mod_init.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod_tidy.md b/content/en/commands/hugo_mod_tidy.md index 4da43a6ae..31b138298 100644 --- a/content/en/commands/hugo_mod_tidy.md +++ b/content/en/commands/hugo_mod_tidy.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod_vendor.md b/content/en/commands/hugo_mod_vendor.md index 6c1cb5fea..1c838e01b 100644 --- a/content/en/commands/hugo_mod_vendor.md +++ b/content/en/commands/hugo_mod_vendor.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_mod_verify.md b/content/en/commands/hugo_mod_verify.md index 99e838975..29292b879 100644 --- a/content/en/commands/hugo_mod_verify.md +++ b/content/en/commands/hugo_mod_verify.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo mod verify" slug: hugo_mod_verify url: /commands/hugo_mod_verify/ @@ -45,4 +45,4 @@ hugo mod verify [flags] * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers. -###### Auto generated by spf13/cobra on 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_new.md b/content/en/commands/hugo_new.md index aa04528fb..a8b8458c3 100644 --- a/content/en/commands/hugo_new.md +++ b/content/en/commands/hugo_new.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo new" slug: hugo_new url: /commands/hugo_new/ @@ -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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_new_site.md b/content/en/commands/hugo_new_site.md index 099ab3cb3..df662d351 100644 --- a/content/en/commands/hugo_new_site.md +++ b/content/en/commands/hugo_new_site.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_new_theme.md b/content/en/commands/hugo_new_theme.md index c82f1123d..87026cdcd 100644 --- a/content/en/commands/hugo_new_theme.md +++ b/content/en/commands/hugo_new_theme.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_server.md b/content/en/commands/hugo_server.md index 3d531a82e..96cf3f16d 100644 --- a/content/en/commands/hugo_server.md +++ b/content/en/commands/hugo_server.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 title: "hugo server" slug: hugo_server url: /commands/hugo_server/ @@ -90,4 +90,4 @@ hugo server [flags] * [hugo](/commands/hugo/) - hugo builds your site -###### Auto generated by spf13/cobra on 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/commands/hugo_version.md b/content/en/commands/hugo_version.md index dafef5be1..633fcd3c3 100644 --- a/content/en/commands/hugo_version.md +++ b/content/en/commands/hugo_version.md @@ -1,5 +1,5 @@ --- -date: 2020-02-19 +date: 2020-03-03 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 19-Feb-2020 +###### Auto generated by spf13/cobra on 3-Mar-2020 diff --git a/content/en/functions/hugo.md b/content/en/functions/hugo.md index d615fa721..26069633d 100644 --- a/content/en/functions/hugo.md +++ b/content/en/functions/hugo.md @@ -33,7 +33,7 @@ hugo.Version `hugo` returns an instance that contains the following functions: hugo.Environment -: the current running environment as defined through the `--environment` cli tag. +: the current running environment as defined through the `--environment` cli tag hugo.CommitHash : the git commit hash of the current Hugo binary e.g. `0e8bed9ccffba0df554728b46c5bbf6d78ae5247` @@ -41,7 +41,8 @@ hugo.CommitHash hugo.BuildDate : the compile date of the current Hugo binary formatted with RFC 3339 e.g. `2002-10-02T10:00:00-05:00` - +hugo.IsProduction +: returns true if `hugo.Environment` is set to the production environment {{% note "Use the Hugo Generator Tag" %}} We highly recommend using `hugo.Generator` in your website's ``. `hugo.Generator` is included by default in all themes hosted on [themes.gohugo.io](https://themes.gohugo.io). The generator tag allows the Hugo team to track the usage and popularity of Hugo. diff --git a/content/en/functions/math.md b/content/en/functions/math.md index eb38fdd0b..29fe16985 100644 --- a/content/en/functions/math.md +++ b/content/en/functions/math.md @@ -4,7 +4,7 @@ description: Hugo provides nine mathematical operators in templates. godocref: date: 2017-02-01 publishdate: 2017-02-01 -lastmod: 2017-02-01 +lastmod: 2020-02-23 keywords: [math, operators] categories: [functions] menu: @@ -36,3 +36,6 @@ aliases: [] | `math.Ceil` | Returns the least integer value greater than or equal to the given number. | `{{math.Ceil 2.1}}` → `3` | | `math.Floor` | Returns the greatest integer value less than or equal to the given number. | `{{math.Floor 1.9}}` → `1` | | `math.Round` | Returns the nearest integer, rounding half away from zero. | `{{math.Round 1.5}}` → `2` | +| `math.Log` | Returns the natural logarithm of the given number. | `{{math.Log 42}}` → `3.737` | +| `math.Sqrt` | Returns the square root of the given number. | `{{math.Sqrt 81}}` → `9` | + diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index b19cb45d9..1f1551937 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -87,6 +87,9 @@ baseURL blackfriday : See [Configure Blackfriday](/getting-started/configuration-markup#blackfriday) +build +: See [Configure Build](#configure-build) + buildDrafts (false) : Include drafts when building. @@ -288,6 +291,21 @@ enableemoji: true ``` {{% /note %}} +## Configure Build + +{{< new-in "0.66.0" >}} + +The `build` configuration section contains global build-realated configuration options. + +{{< code-toggle file="config">}} +[build] +useResourceCacheWhen="fallback" +{{< /code-toggle >}} + + +useResourceCacheWhen +: When to use the cached resources in `/resources/_gen` for PostCSS and ToCSS. Valid values are `never`, `always` and `fallback`. The last value means that the cache will be tried if PostCSS/extended version is not available. + ## Configure Title Case Set `titleCaseStyle` to specify the title style used by the [title](/functions/title/) template function and the automatic section titles in Hugo. It defaults to [AP Stylebook](https://www.apstylebook.com/) for title casing, but you can also set it to `Chicago` or `Go` (every word starts with a capital letter). diff --git a/content/en/hosting-and-deployment/hugo-deploy.md b/content/en/hosting-and-deployment/hugo-deploy.md index 81436b7f3..a571d366d 100644 --- a/content/en/hosting-and-deployment/hugo-deploy.md +++ b/content/en/hosting-and-deployment/hugo-deploy.md @@ -82,8 +82,13 @@ name = "mydeployment" # If you are using a CloudFront CDN, deploy will invalidate the cache as needed. cloudFrontDistributionID = - -# ... add more [[deployment.targets]] sections ... +# Optionally, you can include or exclude specific files. +# See https://godoc.org/github.com/gobwas/glob#Glob for the glob pattern syntax. +# If non-empty, the pattern is matched against the local path. +# If exclude is non-empty, and a file's path matches it, that file is dropped. +# If include is non-empty, and a file's path does not match it, that file is dropped. +# include = "**.html" # would only include files with ".html" suffix +# exclude = "**.{jpg, png}" # would exclude files with ".jpg" or ".png" suffix # [[deployment.matchers]] configure behavior for files that match the Pattern. diff --git a/content/en/hugo-pipes/postcss.md b/content/en/hugo-pipes/postcss.md index a0a673798..a7ba097fa 100755 --- a/content/en/hugo-pipes/postcss.md +++ b/content/en/hugo-pipes/postcss.md @@ -39,6 +39,12 @@ config [string] noMap [bool] : Default is `true`. Disable the default inline sourcemaps +inlineImports [bool] {{< new-in "0.66.0" >}} +: Default is `false`. Enable inlining of @import statements. It does so recursively, but will only import a file once. +URL imports (e.g. `@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');`) and imports with media queries will be ignored. +Note that this import routine does not care about the CSS spec, so you can have @import anywhere in the file. +Hugo will look for imports relative to the module mount and will respect theme overrides. + _If no configuration file is used:_ use [string] @@ -55,4 +61,21 @@ syntax [string] ```go-html-template {{ $style := resources.Get "css/main.css" | resources.PostCSS (dict "config" "customPostCSS.js" "noMap" true) }} +``` + +## Check Hugo Environment from postcss.config.js + +{{< new-in "0.66.0" >}} + +The current Hugo environment name (set by `--environment` or in config or OS environment) is available in the Node context, which allows constructs like this: + +```js +module.exports = { + plugins: [ + require('autoprefixer'), + ...process.env.HUGO_ENVIRONMENT === 'production' + ? [purgecss] + : [] + ] +} ``` \ No newline at end of file diff --git a/content/en/news/0.66.0-relnotes/index.md b/content/en/news/0.66.0-relnotes/index.md new file mode 100644 index 000000000..75ee5e7b7 --- /dev/null +++ b/content/en/news/0.66.0-relnotes/index.md @@ -0,0 +1,81 @@ + +--- +date: 2020-03-03 +title: "0.66.0" +description: "0.66.0" +categories: ["Releases"] +--- + + This relase adds [inline `@import`](http://localhost:1313/hugo-pipes/postcss/#options) support to `resources.PostCSS`, with imports relative to Hugo's virtual, composable file system. Another useful addition is the new `build` [configuration section](http://localhost:1313/getting-started/configuration/#configure-build). As an example in `config.toml`: + +```toml +[build] + useResourceCacheWhen = "always" +``` + +The above will tell Hugo to _always_ used the cached build resources inside `resources/_gen` for the build steps requiring a non-standard dependency (PostCSS and SCSS/SASS). Valid values are `never`, `always` and `fallback` (default). + + +This release represents **27 contributions by 8 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 [@anthonyfok](https://github.com/anthonyfok), [@carlmjohnson](https://github.com/carlmjohnson), and [@sams96](https://github.com/sams96) 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 **8 contributions by 5 contributors**. A special thanks to [@bep](https://github.com/bep), [@nantipov](https://github.com/nantipov), [@regisphilibert](https://github.com/regisphilibert), and [@inwardmovement](https://github.com/inwardmovement) for their work on the documentation site. + + +Hugo now has: + +* 41984+ [stars](https://github.com/gohugoio/hugo/stargazers) +* 439+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) +* 299+ [themes](http://themes.gohugo.io/) + +## Enhancements + +### Templates + +* Change error message on missing resource [d7798906](https://github.com/gohugoio/hugo/commit/d7798906d8e152a5d33f76ed0362628da8dd2c35) [@sams96](https://github.com/sams96) [#6942](https://github.com/gohugoio/hugo/issues/6942) +* Add math.Sqrt [d184e505](https://github.com/gohugoio/hugo/commit/d184e5059c72c15df055192b01da0fd8c5b0fc5c) [@StarsoftAnalysis](https://github.com/StarsoftAnalysis) [#6941](https://github.com/gohugoio/hugo/issues/6941) + +### Other + +* Skip some tests on CircleCI [6a34f88d](https://github.com/gohugoio/hugo/commit/6a34f88dcc1ac229247decc008471d7449d6d316) [@bep](https://github.com/bep) +* {{ in }} should work with html.Template type [ae383f04](https://github.com/gohugoio/hugo/commit/ae383f04c806687cdae184d6138bcf51edbffcb2) [@carlmjohnson](https://github.com/carlmjohnson) [#7002](https://github.com/gohugoio/hugo/issues/7002) +* Regen CLI docs [ee31e61f](https://github.com/gohugoio/hugo/commit/ee31e61fb06bb6e26c9d66d78d8763aabd19e11d) [@bep](https://github.com/bep) +* Add --all flag to hugo mod clean [760a87a4](https://github.com/gohugoio/hugo/commit/760a87a45a0a3e6a581851e5cf4fe440e9a8c655) [@bep](https://github.com/bep) +* Add build.UseResourceCacheWhen [3d3fa5c3](https://github.com/gohugoio/hugo/commit/3d3fa5c3fe5ee0c9df59d682ee0acaba71a06ae1) [@bep](https://github.com/bep) [#6993](https://github.com/gohugoio/hugo/issues/6993) +* Update dependency list in README.md [ee3d0213](https://github.com/gohugoio/hugo/commit/ee3d02134d9b46b10e5a0403c9986ee1833ae6c1) [@anthonyfok](https://github.com/anthonyfok) +* Add full filename to image when processing fails [305ce1c9](https://github.com/gohugoio/hugo/commit/305ce1c9ec746d3b8f6c9306b7014bfd621478a5) [@bep](https://github.com/bep) [#7000](https://github.com/gohugoio/hugo/issues/7000) +* Update dependency list in README [449deb7f](https://github.com/gohugoio/hugo/commit/449deb7f9ce089236f8328dd4fa585bea6e9bfde) [@anthonyfok](https://github.com/anthonyfok) +* Add basic @import support to resources.PostCSS [b66d38c4](https://github.com/gohugoio/hugo/commit/b66d38c41939252649365822d9edb10cf5990617) [@bep](https://github.com/bep) [#6957](https://github.com/gohugoio/hugo/issues/6957)[#6961](https://github.com/gohugoio/hugo/issues/6961) +* Implement include/exclude filters for deploy [05a74eae](https://github.com/gohugoio/hugo/commit/05a74eaec0d944a4b29445c878a431cd6ae12277) [@vangent](https://github.com/vangent) [#6922](https://github.com/gohugoio/hugo/issues/6922) +* Update to Go 1.14 and 1.13.8 [33ae6210](https://github.com/gohugoio/hugo/commit/33ae62108325f703f1eaeabef1e8a80950229415) [@bep](https://github.com/bep) [#6958](https://github.com/gohugoio/hugo/issues/6958) +* Add hugo.IsProduction function [1352bc88](https://github.com/gohugoio/hugo/commit/1352bc880df4cd25eff65843973fcc0dd21b6304) [@hcwong](https://github.com/hcwong) [#6873](https://github.com/gohugoio/hugo/issues/6873) +* Apply missing go fmt [76b2afe6](https://github.com/gohugoio/hugo/commit/76b2afe642c37aedc7269b41d6fca5b78f467ce4) [@bep](https://github.com/bep) + +## Fixes + +### Output + +* Fix panic on no output formats [f4605303](https://github.com/gohugoio/hugo/commit/f46053034759c4f9790a79e0a146dbc1b426b1ff) [@bep](https://github.com/bep) [#6924](https://github.com/gohugoio/hugo/issues/6924) + +### Core + +* Fix error handling in page collector [3e9db2ad](https://github.com/gohugoio/hugo/commit/3e9db2ad951dbb1000cd0f8f25e4a95445046679) [@bep](https://github.com/bep) [#6988](https://github.com/gohugoio/hugo/issues/6988) +* Fix 2 Paginator.Pages taxonomy regressions [7ef5a4c8](https://github.com/gohugoio/hugo/commit/7ef5a4c83e4560bced3eee0ccf0e0db176146f44) [@bep](https://github.com/bep) [#6921](https://github.com/gohugoio/hugo/issues/6921)[#6918](https://github.com/gohugoio/hugo/issues/6918) +* Fix deletion of orphaned sections [a70bbd06](https://github.com/gohugoio/hugo/commit/a70bbd0696df3b0a6889650e48a07f8223151da4) [@bep](https://github.com/bep) [#6920](https://github.com/gohugoio/hugo/issues/6920) + +### Other + +* Fix ref/relref short lookup for pages in sub-folder [8947c3fa](https://github.com/gohugoio/hugo/commit/8947c3fa0beec021e14b3f8040857335e1ecd473) [@bep](https://github.com/bep) [#6952](https://github.com/gohugoio/hugo/issues/6952) +* Fix ref/relRef regression for relative refs from bundles [1746e8a9](https://github.com/gohugoio/hugo/commit/1746e8a9b2be46dcd6cecbb4bc90983a9c69b333) [@bep](https://github.com/bep) [#6952](https://github.com/gohugoio/hugo/issues/6952) +* Fix potential infinite recursion in server change detection [6f48146e](https://github.com/gohugoio/hugo/commit/6f48146e75e9877c4271ec239b763e6f3bc3babb) [@bep](https://github.com/bep) [#6986](https://github.com/gohugoio/hugo/issues/6986) +* Fix rebuild logic when editing template using a base template [b0d85032](https://github.com/gohugoio/hugo/commit/b0d850321e58a052ead25f7014b7851f63497601) [@bep](https://github.com/bep) [#6968](https://github.com/gohugoio/hugo/issues/6968) +* Fix panic when home page is drafted [0bd6356c](https://github.com/gohugoio/hugo/commit/0bd6356c6d2a2bac06d0c3705bf13a90cb7a2688) [@bep](https://github.com/bep) [#6927](https://github.com/gohugoio/hugo/issues/6927) +* Fix goldmark toc rendering [ca68abf0](https://github.com/gohugoio/hugo/commit/ca68abf0bc2fa003c2052143218f7b2ab195a46e) [@satotake](https://github.com/satotake) [#6736](https://github.com/gohugoio/hugo/issues/6736)[#6809](https://github.com/gohugoio/hugo/issues/6809) +* Fix crashes for 404 in IsAncestor etc. [a524124b](https://github.com/gohugoio/hugo/commit/a524124beb0e7ca226c207ea48a90cea2cbef76e) [@bep](https://github.com/bep) [#6931](https://github.com/gohugoio/hugo/issues/6931) +* Fix panic in 404.Parent [4c2a0de4](https://github.com/gohugoio/hugo/commit/4c2a0de412a850745ad32e580fcd65575192ca53) [@bep](https://github.com/bep) [#6924](https://github.com/gohugoio/hugo/issues/6924) + + + + +