summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers3
-rw-r--r--_vendor/modules.txt2
-rw-r--r--content/en/about/hugo-and-gdpr.md10
-rw-r--r--content/en/commands/hugo.md3
-rw-r--r--content/en/commands/hugo_completion.md2
-rw-r--r--content/en/commands/hugo_completion_bash.md2
-rw-r--r--content/en/commands/hugo_completion_fish.md2
-rw-r--r--content/en/commands/hugo_completion_powershell.md2
-rw-r--r--content/en/commands/hugo_completion_zsh.md4
-rw-r--r--content/en/commands/hugo_config.md32
-rw-r--r--content/en/commands/hugo_config_mounts.md4
-rw-r--r--content/en/commands/hugo_convert.md38
-rw-r--r--content/en/commands/hugo_convert_toJSON.md4
-rw-r--r--content/en/commands/hugo_convert_toTOML.md4
-rw-r--r--content/en/commands/hugo_convert_toYAML.md4
-rw-r--r--content/en/commands/hugo_deploy.md46
-rw-r--r--content/en/commands/hugo_env.md9
-rw-r--r--content/en/commands/hugo_gen.md6
-rw-r--r--content/en/commands/hugo_gen_chromastyles.md4
-rw-r--r--content/en/commands/hugo_gen_doc.md15
-rw-r--r--content/en/commands/hugo_gen_man.md8
-rw-r--r--content/en/commands/hugo_import.md6
-rw-r--r--content/en/commands/hugo_import_jekyll.md6
-rw-r--r--content/en/commands/hugo_list.md36
-rw-r--r--content/en/commands/hugo_list_all.md4
-rw-r--r--content/en/commands/hugo_list_drafts.md4
-rw-r--r--content/en/commands/hugo_list_expired.md4
-rw-r--r--content/en/commands/hugo_list_future.md4
-rw-r--r--content/en/commands/hugo_mod.md57
-rw-r--r--content/en/commands/hugo_mod_clean.md10
-rw-r--r--content/en/commands/hugo_mod_get.md4
-rw-r--r--content/en/commands/hugo_mod_graph.md7
-rw-r--r--content/en/commands/hugo_mod_init.md18
-rw-r--r--content/en/commands/hugo_mod_npm.md4
-rw-r--r--content/en/commands/hugo_mod_npm_pack.md4
-rw-r--r--content/en/commands/hugo_mod_tidy.md4
-rw-r--r--content/en/commands/hugo_mod_vendor.md9
-rw-r--r--content/en/commands/hugo_mod_verify.md5
-rw-r--r--content/en/commands/hugo_new.md64
-rw-r--r--content/en/commands/hugo_new_content.md57
-rw-r--r--content/en/commands/hugo_new_site.md33
-rw-r--r--content/en/commands/hugo_new_theme.md41
-rw-r--r--content/en/commands/hugo_server.md113
-rw-r--r--content/en/commands/hugo_version.md8
-rw-r--r--content/en/content-management/cross-references.md2
-rw-r--r--content/en/content-management/front-matter.md2
-rw-r--r--content/en/content-management/image-processing/index.md4
-rw-r--r--content/en/content-management/menus.md8
-rw-r--r--content/en/content-management/multilingual.md22
-rw-r--r--content/en/content-management/page-resources.md2
-rw-r--r--content/en/content-management/related.md4
-rw-r--r--content/en/content-management/shortcodes.md5
-rw-r--r--content/en/content-management/static-files.md2
-rw-r--r--content/en/content-management/taxonomies.md8
-rw-r--r--content/en/content-management/urls.md14
-rw-r--r--content/en/contribute/documentation.md4
-rw-r--r--content/en/functions/hasPrefix.md21
-rw-r--r--content/en/functions/hasSuffix.md21
-rw-r--r--content/en/functions/hugo.md65
-rw-r--r--content/en/functions/math.md1
-rw-r--r--content/en/functions/param.md2
-rw-r--r--content/en/functions/safeHTML.md4
-rw-r--r--content/en/functions/safeHTMLAttr.md2
-rw-r--r--content/en/functions/safeURL.md4
-rw-r--r--content/en/functions/sort.md4
-rw-r--r--content/en/functions/urls.JoinPath.md25
-rw-r--r--content/en/functions/where.md2
-rw-r--r--content/en/getting-started/configuration.md58
-rw-r--r--content/en/getting-started/directory-structure.md4
-rw-r--r--content/en/getting-started/quick-start.md8
-rw-r--r--content/en/hugo-modules/configuration.md12
-rw-r--r--content/en/hugo-modules/theme-components.md8
-rw-r--r--content/en/hugo-modules/use-modules.md2
-rwxr-xr-xcontent/en/hugo-pipes/introduction.md13
-rwxr-xr-xcontent/en/hugo-pipes/postprocess.md2
-rw-r--r--content/en/templates/internal.md12
-rw-r--r--content/en/templates/introduction.md2
-rw-r--r--content/en/templates/output-formats.md8
-rw-r--r--content/en/templates/robots.md2
-rw-r--r--content/en/templates/rss.md4
-rw-r--r--content/en/templates/shortcode-templates.md2
-rw-r--r--content/en/templates/sitemap-template.md4
-rw-r--r--content/en/variables/page.md4
-rw-r--r--content/en/variables/site.md2
-rw-r--r--data/docs.json504
-rw-r--r--go.mod2
-rw-r--r--go.sum2
-rw-r--r--layouts/shortcodes/code-toggle.html2
-rw-r--r--layouts/shortcodes/new-in.html11
-rw-r--r--netlify.toml8
90 files changed, 928 insertions, 682 deletions
diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers
index fedd73525..1216e42d4 100644
--- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers
+++ b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers
@@ -3,6 +3,3 @@
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: origin-when-cross-origin
-/*
- Link: <{{ "dist/app.bundle.js" | relURL }}>; rel=preload; as=script
- Link: <{{ "dist/main.css" | relURL }}>; rel=preload; as=style
diff --git a/_vendor/modules.txt b/_vendor/modules.txt
index 5c4b53271..1c7cac307 100644
--- a/_vendor/modules.txt
+++ b/_vendor/modules.txt
@@ -1 +1 @@
-# github.com/gohugoio/gohugoioTheme v0.0.0-20230418063032-99f9185b8e11
+# github.com/gohugoio/gohugoioTheme v0.0.0-20230527124826-78bc315d7b8a
diff --git a/content/en/about/hugo-and-gdpr.md b/content/en/about/hugo-and-gdpr.md
index 3e0a160c7..b028c4543 100644
--- a/content/en/about/hugo-and-gdpr.md
+++ b/content/en/about/hugo-and-gdpr.md
@@ -27,9 +27,9 @@ toc: true
## All Privacy Settings
-Below are all privacy settings and their default value. These settings need to be put in your site config (e.g. `config.toml`).
+Below are all privacy settings and their default value. These settings need to be put in your site config (e.g. `hugo.toml`).
- {{< code-toggle file="config">}}
+{{< code-toggle file="hugo" >}}
[privacy]
[privacy.disqus]
disable = false
@@ -58,7 +58,7 @@ privacyEnhanced = false
An example Privacy Config that disables all the relevant services in Hugo. With this configuration, the other settings will not matter.
- {{< code-toggle file="config">}}
+ {{< code-toggle file="hugo" >}}
[privacy]
[privacy.disqus]
disable = true
@@ -98,7 +98,7 @@ simple
**Note:** If you use the _simple mode_ for Instagram and a site styled with Bootstrap 4, you may want to disable the inline styles provided by Hugo:
- {{< code-toggle file="config">}}
+ {{< code-toggle file="hugo" >}}
[services]
[services.instagram]
disableInlineCSS = true
@@ -114,7 +114,7 @@ simple
**Note:** If you use the _simple mode_ for Twitter, you may want to disable the inline styles provided by Hugo:
- {{< code-toggle file="config">}}
+ {{< code-toggle file="hugo" >}}
[services]
[services.twitter]
disableInlineCSS = true
diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md
index 0b42d5521..8dbdd6231 100644
--- a/content/en/commands/hugo.md
+++ b/content/en/commands/hugo.md
@@ -39,6 +39,7 @@ hugo [flags]
--enableGitInfo add Git revision, date, author, and CODEOWNERS info to the pages
-e, --environment string build environment
--forceSyncStatic copy all files when static is changed.
+ --format string preferred file format (toml, yaml or json) (default "toml")
--gc enable to run some cleanup tasks (remove unused cache files) after the build
-h, --help help for hugo
--ignoreCache ignores the cache directory
@@ -82,5 +83,5 @@ hugo [flags]
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
* [hugo new](/commands/hugo_new/) - Create new content for your site
* [hugo server](/commands/hugo_server/) - A high performance webserver
-* [hugo version](/commands/hugo_version/) - Print the version number of Hugo
+* [hugo version](/commands/hugo_version/) - Print Hugo version and environment info
diff --git a/content/en/commands/hugo_completion.md b/content/en/commands/hugo_completion.md
index 5387f7aed..7ab87f800 100644
--- a/content/en/commands/hugo_completion.md
+++ b/content/en/commands/hugo_completion.md
@@ -26,7 +26,9 @@ See each sub-command's help for details on how to use the generated script.
--config string config file (default is hugo.yaml|json|toml)
--configDir string config dir (default "config")
--debug debug output
+ -d, --destination string filesystem path to write files to
-e, --environment string build environment
+ --format string preferred file format (toml, yaml or json) (default "toml")
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
--log enable Logging
--logFile string log File path (if set, logging enabled automatically)
diff --git a/content/en/commands/hugo_completion_bash.md b/content/en/commands/hugo_completion_bash.md
index 22d948647..a4d4d6f11 100644
--- a/content/en/commands/hugo_completion_bash.md
+++ b/content/en/commands/hugo_completion_bash.md
@@ -49,7 +49,9 @@ hugo completion bash
--config string config file (default is hugo.yaml|json|toml)
--configDir string config dir (default "config")
--debug debug output
+ -d, --destination string filesystem path to write files to
-e, --environment string build environment
+ --format string preferred file format (toml, yaml or json) (default "toml")
--ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
--log enable Logging
--logFile string log File path (if set, logging enabled automatically)
diff --git a/content/en/commands/hugo_completion_fish.md b/content/en/commands/hugo_completion_fish.md
index 481507044..6fe2d7f16 100644
--- a/content/en/commands/hugo_completion_fish.md
+++ b/content/en/commands/hugo_completion_fish.md
@@ -40,7 +40,9 @@ hugo completion fish [flags]
--config string config file (default is hugo.yaml|json|toml)
--configDir string config dir (default "config")
--debug