summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-27 17:02:23 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-27 17:02:23 +0200
commita838a27e4c82626f9b3227e02a157119673e5dcf (patch)
tree9d220eadc3fcaedfd77be3fa466fec14e038cfd1
parent273d9f69a6cb46ce632b340ebb1191e2e083323b (diff)
parentd3927310d5b2404c3238f9b899db3329ea516490 (diff)
-rw-r--r--docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers3
-rw-r--r--docs/_vendor/modules.txt2
-rw-r--r--docs/content/en/about/hugo-and-gdpr.md10
-rw-r--r--docs/content/en/commands/hugo.md1
-rw-r--r--docs/content/en/commands/hugo_completion.md1
-rw-r--r--docs/content/en/commands/hugo_completion_bash.md1
-rw-r--r--docs/content/en/commands/hugo_completion_fish.md1
-rw-r--r--docs/content/en/commands/hugo_completion_powershell.md1
-rw-r--r--docs/content/en/commands/hugo_completion_zsh.md1
-rw-r--r--docs/content/en/commands/hugo_config_mounts.md1
-rw-r--r--docs/content/en/commands/hugo_convert_toJSON.md1
-rw-r--r--docs/content/en/commands/hugo_convert_toTOML.md1
-rw-r--r--docs/content/en/commands/hugo_convert_toYAML.md1
-rw-r--r--docs/content/en/commands/hugo_env.md1
-rw-r--r--docs/content/en/commands/hugo_gen.md1
-rw-r--r--docs/content/en/commands/hugo_gen_chromastyles.md1
-rw-r--r--docs/content/en/commands/hugo_gen_doc.md1
-rw-r--r--docs/content/en/commands/hugo_gen_man.md1
-rw-r--r--docs/content/en/commands/hugo_import.md1
-rw-r--r--docs/content/en/commands/hugo_import_jekyll.md1
-rw-r--r--docs/content/en/commands/hugo_list_all.md1
-rw-r--r--docs/content/en/commands/hugo_list_drafts.md1
-rw-r--r--docs/content/en/commands/hugo_list_expired.md1
-rw-r--r--docs/content/en/commands/hugo_list_future.md1
-rw-r--r--docs/content/en/commands/hugo_mod_clean.md1
-rw-r--r--docs/content/en/commands/hugo_mod_get.md1
-rw-r--r--docs/content/en/commands/hugo_mod_graph.md1
-rw-r--r--docs/content/en/commands/hugo_mod_init.md1
-rw-r--r--docs/content/en/commands/hugo_mod_npm.md1
-rw-r--r--docs/content/en/commands/hugo_mod_npm_pack.md1
-rw-r--r--docs/content/en/commands/hugo_mod_tidy.md1
-rw-r--r--docs/content/en/commands/hugo_mod_vendor.md1
-rw-r--r--docs/content/en/commands/hugo_mod_verify.md1
-rw-r--r--docs/content/en/commands/hugo_version.md1
-rw-r--r--docs/content/en/content-management/cross-references.md2
-rw-r--r--docs/content/en/content-management/front-matter.md2
-rw-r--r--docs/content/en/content-management/image-processing/index.md4
-rw-r--r--docs/content/en/content-management/menus.md8
-rw-r--r--docs/content/en/content-management/multilingual.md22
-rw-r--r--docs/content/en/content-management/page-resources.md2
-rw-r--r--docs/content/en/content-management/related.md4
-rw-r--r--docs/content/en/content-management/shortcodes.md2
-rw-r--r--docs/content/en/content-management/static-files.md2
-rw-r--r--docs/content/en/content-management/taxonomies.md8
-rw-r--r--docs/content/en/content-management/urls.md14
-rw-r--r--docs/content/en/contribute/documentation.md4
-rw-r--r--docs/content/en/functions/hugo.md65
-rw-r--r--docs/content/en/functions/param.md2
-rw-r--r--docs/content/en/functions/safeHTML.md4
-rw-r--r--docs/content/en/functions/safeHTMLAttr.md2
-rw-r--r--docs/content/en/functions/safeURL.md4
-rw-r--r--docs/content/en/functions/sort.md4
-rw-r--r--docs/content/en/functions/where.md2
-rw-r--r--docs/content/en/getting-started/configuration.md58
-rw-r--r--docs/content/en/getting-started/directory-structure.md4
-rw-r--r--docs/content/en/getting-started/quick-start.md8
-rw-r--r--docs/content/en/hugo-modules/configuration.md12
-rw-r--r--docs/content/en/hugo-modules/theme-components.md8
-rw-r--r--docs/content/en/hugo-modules/use-modules.md2
-rwxr-xr-xdocs/content/en/hugo-pipes/introduction.md13
-rwxr-xr-xdocs/content/en/hugo-pipes/postprocess.md2
-rw-r--r--docs/content/en/templates/internal.md12
-rw-r--r--docs/content/en/templates/introduction.md2
-rw-r--r--docs/content/en/templates/output-formats.md8
-rw-r--r--docs/content/en/templates/robots.md2
-rw-r--r--docs/content/en/templates/rss.md4
-rw-r--r--docs/content/en/templates/shortcode-templates.md2
-rw-r--r--docs/content/en/templates/sitemap-template.md4
-rw-r--r--docs/content/en/variables/page.md4
-rw-r--r--docs/content/en/variables/site.md2
-rw-r--r--docs/go.mod2
-rw-r--r--docs/go.sum2
-rw-r--r--docs/layouts/shortcodes/code-toggle.html2
-rw-r--r--docs/layouts/shortcodes/new-in.html11
-rw-r--r--docs/netlify.toml8
75 files changed, 211 insertions, 164 deletions
diff --git a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers b/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers
index fedd73525..1216e42d4 100644
--- a/docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/index.headers
+++ b/docs/_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/docs/_vendor/modules.txt b/docs/_vendor/modules.txt
index 5c4b53271..1c7cac307 100644
--- a/docs/_vendor/modules.txt
+++ b/docs/_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/docs/content/en/about/hugo-and-gdpr.md b/docs/content/en/about/hugo-and-gdpr.md
index 3e0a160c7..b028c4543 100644
--- a/docs/content/en/about/hugo-and-gdpr.md
+++ b/docs/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/docs/content/en/commands/hugo.md b/docs/content/en/commands/hugo.md
index 73d443169..8dbdd6231 100644
--- a/docs/content/en/commands/hugo.md
+++ b/docs/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
diff --git a/docs/content/en/commands/hugo_completion.md b/docs/content/en/commands/hugo_completion.md
index d7cc64cc2..7ab87f800 100644
--- a/docs/content/en/commands/hugo_completion.md
+++ b/docs/content/en/commands/hugo_completion.md
@@ -28,6 +28,7 @@ See each sub-command's help for details on how to use the generated script.
--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/docs/content/en/commands/hugo_completion_bash.md b/docs/content/en/commands/hugo_completion_bash.md
index eb6fdd8d4..a4d4d6f11 100644
--- a/docs/content/en/commands/hugo_completion_bash.md
+++ b/docs/content/en/commands/hugo_completion_bash.md
@@ -51,6 +51,7 @@ hugo completion bash
--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/docs/content/en/commands/hugo_completion_fish.md b/docs/content/en/commands/hugo_completion_fish.md
index f81acb8af..6fe2d7f16 100644
--- a/docs/content/en/commands/hugo_completion_fish.md
+++ b/docs/content/en/commands/hugo_completion_fish.md
@@ -42,6 +42,7 @@ hugo completion fish [flags]
--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/docs/content/en/commands/hugo_completion_powershell.md b/docs/content/en/commands/hugo_completion_powershell.md
index 5f900ec59..614023dbb 100644
--- a/docs/content/en/commands/hugo_completion_powershell.md
+++ b/docs/content/en/commands/hugo_completion_powershell.md
@@ -39,6 +39,7 @@ hugo completion powershell [flags]
--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/docs/content/en/commands/hugo_completion_zsh.md b/docs/content/en/commands/hugo_completion_zsh.md
index fbe5c6ad4..7e17bc96d 100644
--- a/docs/content/en/commands/hugo_completion_zsh.md
+++ b/docs/content/en/commands/hugo_completion_zsh.md
@@ -53,6 +53,7 @@ hugo completion zsh [flags]
--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/docs/content/en/commands/hugo_config_mounts.md b/docs/content/en/commands/hugo_config_mounts.md
index 9ec0a5e7f..1019f5102 100644
--- a/docs/content/en/commands/hugo_config_mounts.md
+++ b/docs/content/en/commands/hugo_config_mounts.md
@@ -26,6 +26,7 @@ hugo config mounts [flags] [args]
--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/docs/content/en/commands/hugo_convert_toJSON.md b/docs/content/en/commands/hugo_convert_toJSON.md
index 4b811f49e..73c2fc303 100644
--- a/docs/content/en/commands/hugo_convert_toJSON.md
+++ b/docs/content/en/commands/hugo_convert_toJSON.md
@@ -31,6 +31,7 @@ hugo convert toJSON [flags] [args]
--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/docs/content/en/commands/hugo_convert_toTOML.md b/docs/content/en/commands/hugo_convert_toTOML.md
index 19d847e90..9141eb1a2 100644
--- a/docs/content/en/commands/hugo_convert_toTOML.md
+++ b/docs/content/en/commands/hugo_convert_toTOML.md
@@ -31,6 +31,7 @@ hugo convert toTOML [flags] [args]
--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/docs/content/en/commands/hugo_convert_toYAML.md b/docs/content/en/commands/hugo_convert_toYAML.md
index 1785d3ad8..a932921cf 100644
--- a/docs/content/en/commands/hugo_convert_toYAML.md
+++ b/docs/content/en/commands/hugo_convert_toYAML.md
@@ -31,6 +31,7 @@ hugo convert toYAML [flags] [args]
--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/docs/content/en/commands/hugo_env.md b/docs/content/en/commands/hugo_env.md
index 296e6e002..e001c6098 100644
--- a/docs/content/en/commands/hugo_env.md
+++ b/docs/content/en/commands/hugo_env.md
@@ -30,6 +30,7 @@ hugo env [flags] [args]
--debug debug output
-d, --destination string filesystem path to write files to
-e, --environment string build environment