You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,7 +83,7 @@ Any setting not defined in a `[languages]` block will fall back to the global va
83
83
Once you've updated your site config, you create a content root directory for each language version in your source repo, such as `content/en` for English text, and add your [content](/docs/adding-content/content/) as usual. See the [Hugo Docs](https://gohugo.io/content-management/multilingual) on multi-language support for more information.
84
84
85
85
{{% alert title="Attention (only when using docsy as hugo module)" color="warning" %}}
86
-
If you have a multi language installation, please make sure that the section `[languages]` inside your `config.toml` is declared before the section `[module]` with the module imports. Otherwise you will run into trouble!
86
+
If you have a multi language installation, please make sure that the section `[languages]` inside your [configuration file](https://gohugo.io/getting-started/configuration/#configuration-file) is declared **before** the section `[module]` with the module imports. Otherwise you will run into trouble!
87
87
{{% /alert %}}
88
88
89
89
{{% alert title="Tip" %}}
@@ -94,7 +94,7 @@ For adding multiple language versions of other site elements such as button text
94
94
95
95
## Selecting a language
96
96
97
-
If you configure more than one language in `config.toml`, the Docsy theme adds a language selector drop down to the top-level menu. Selecting a language takes the user to the translated version of the current page, or the home page for the given language.
97
+
If you configure more than one language in your [configuration file](https://gohugo.io/getting-started/configuration/#configuration-file), the Docsy theme adds a language selector drop down to the top-level menu. Selecting a language takes the user to the translated version of the current page, or the home page for the given language.
Copy file name to clipboardexpand all lines: userguide/content/en/docs/Updating/Convert-site-to-module.md
+5
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,11 @@ module:
169
169
You can find details of what these configuration settings do in the [Hugo modules documentation](https://gohugo.io/hugo-modules/configuration/#module-config-top-level).
170
170
Depending on your environment you may need to tweak them slightly, for example by adding a proxy to use when downloading remote modules.
171
171
172
+
{{% alert title="Tip" %}}
173
+
In Hugo 0.110.0 the default config base filename was changed to `hugo.toml`.
174
+
If you are using hugo 0.110 or above, consider renaming your `config.toml` to `hugo.toml`!
175
+
{{% /alert %}}
176
+
172
177
{{% alert title="Attention" color="warning" %}}
173
178
If you have a multi language installation, please make sure that the section `[languages]` inside your `config.toml` is declared before the section `[module]` with the module imports. Otherwise you will run into trouble!
Copy file name to clipboardexpand all lines: userguide/content/en/docs/adding-content/content.md
+24-24
Original file line number
Diff line number
Diff line change
@@ -235,23 +235,23 @@ As of version 0.100, [Goldmark](https://github.com/yuin/goldmark/) is the only M
235
235
236
236
<h4class="alert-heading">Tip</h4>
237
237
238
-
If you've been using versions of Hugo before 0.60 that use [`BlackFriday`](https://github.com/russross/blackfriday) as its Markdown parser, you may need to make some small changes to your site to work with the current `Goldmark` Markdown parser. In particular, if you cloned an earlier version of our example site, add the following to your `config.toml`/`config.yaml`/`config.json` to allow Goldmark to render raw HTML as well as Markdown:
238
+
If you've been using versions of Hugo before 0.60 that use [`BlackFriday`](https://github.com/russross/blackfriday) as its Markdown parser, you may need to make some small changes to your site to work with the current `Goldmark` Markdown parser. In particular, if you cloned an earlier version of our example site, add the following to your `hugo.toml`/`hugo.yaml`/`hugo.json` to allow Goldmark to render raw HTML as well as Markdown:
@@ -478,11 +478,11 @@ If you've just used the theme, you can still use all Docsy's provided [page bloc
478
478
479
479
## Adding a community page
480
480
481
-
The `community` landing page template has boilerplate content that's automatically filled in with the project name and community links specified in `config.toml`/`config.yaml`/`config.json`, providing your users with quick links to resources that help them get involved in your project. The same links are also added by default to your site footer.
481
+
The `community` landing page template has boilerplate content that's automatically filled in with the project name and community links specified in `hugo.toml`/`hugo.yaml`/`hugo.json`, providing your users with quick links to resources that help them get involved in your project. The same links are also added by default to your site footer.
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
488
488
[[params.links.user]]
@@ -517,7 +517,7 @@ The `community` landing page template has boilerplate content that's automatical
517
517
icon = "fa fa-envelope"
518
518
desc = "Discuss development issues around the project"
519
519
{{< /tab >}}
520
-
{{< tab header="config.yaml" lang="yaml" >}}
520
+
{{< tab header="hugo.yaml" lang="yaml" >}}
521
521
params:
522
522
links:
523
523
user:
@@ -547,7 +547,7 @@ params:
547
547
icon: fa fa-envelope
548
548
desc: Discuss development issues around the project
549
549
{{< /tab >}}
550
-
{{< tab header="config.json" lang="json" >}}
550
+
{{< tab header="hugo.json" lang="json" >}}
551
551
{
552
552
"params": {
553
553
"links": {
@@ -609,18 +609,18 @@ You can also use this directory for other files used by your project, including
609
609
610
610
## RSS feeds
611
611
612
-
Hugo will, by default, create an RSS feed for the home page and any section. For the main RSS feed you can control which sections to include by setting a site param in your `config.toml`/`config.yaml`/`config.json`. This is the default configuration:
612
+
Hugo will, by default, create an RSS feed for the home page and any section. For the main RSS feed you can control which sections to include by setting a site param in your `hugo.toml`/`hugo.yaml`/`hugo.json`. This is the default configuration:
If you have enabled our [print feature](/docs/adding-content/print/) or otherwise specified section-level output formats in `config.toml`/`config.yaml`/`config.json`, make sure that `"RSS"` is listed as an output format, otherwise you won't get section-level RSS feeds (and your blog section won't get a nice orange RSS button). Your `config.toml`/`config.yaml`/`config.json` specification overrides the Hugo default [output formats](https://gohugo.io/templates/output-formats/) for sections, which are HTML and RSS.
657
+
If you have enabled our [print feature](/docs/adding-content/print/) or otherwise specified section-level output formats in `hugo.toml`/`hugo.yaml`/`hugo.json`, make sure that `"RSS"` is listed as an output format, otherwise you won't get section-level RSS feeds (and your blog section won't get a nice orange RSS button). Your `hugo.toml`/`hugo.yaml`/`hugo.json` specification overrides the Hugo default [output formats](https://gohugo.io/templates/output-formats/) for sections, which are HTML and RSS.
Hugo creates a `sitemap.xml` file for your generated site by default: for example, [here's the sitemap](/sitemap.xml) for this site.
689
689
690
-
You can configure the frequency with which your sitemap is updated, your sitemap filename, and the default page priority in your `config.toml`/`config.yaml`/`config.json`:
690
+
You can configure the frequency with which your sitemap is updated, your sitemap filename, and the default page priority in your `hugo.toml`/`hugo.yaml`/`hugo.json`:
0 commit comments