diff options
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") --ignor |