diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-12-20 11:04:41 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-12-20 11:04:41 +0100 |
commit | 9a215d6950e6705f9109497e9f38cc3844172612 (patch) | |
tree | f04e00c7c59f77214ee0c90ab95d5fcab40c25fa /docs/content/en/content-management/urls.md | |
parent | eda1e720cd2434f97d7d931a7ff55447375e8d9a (diff) | |
parent | 41bc6f702aa54200530efbf4267e5c823df3028d (diff) |
Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d'
Diffstat (limited to 'docs/content/en/content-management/urls.md')
-rw-r--r-- | docs/content/en/content-management/urls.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/content-management/urls.md b/docs/content/en/content-management/urls.md index 6b12f3a2e..739c9c390 100644 --- a/docs/content/en/content-management/urls.md +++ b/docs/content/en/content-management/urls.md @@ -23,7 +23,7 @@ The `permalinks` option in your [site configuration][config] allows you to adjus These examples use the default values for `publishDir` and `contentDir`; i.e., `public` and `content`, respectively. You can override the default values in your [site's `config` file](/getting-started/configuration/). {{% /note %}} -For example, if one of your [sections][] is called `posts` and you want to adjust the canonical path to be hierarchical based on the year, month, and post title, you could set up the following configurations in YAML and TOML, respectively. +For example, if one of your [sections] is called `posts` and you want to adjust the canonical path to be hierarchical based on the year, month, and post title, you could set up the following configurations in YAML and TOML, respectively. ### Permalinks Configuration Example @@ -211,7 +211,7 @@ content/posts/post-1.md If you would like to have what are often referred to as "ugly URLs" (e.g., example.com/urls.html), set `uglyurls = true` or `uglyurls: true` in your site's `config.toml` or `config.yaml`, respectively. You can also set the `HUGO_UGLYURLS` environment variable to `true` when running `hugo` or `hugo server`. -If you want a specific piece of content to have an exact URL, you can specify this in the [front matter][] under the `url` key. The following are examples of the same content directory and what the eventual URL structure will be when Hugo runs with its default behavior. +If you want a specific piece of content to have an exact URL, you can specify this in the [front matter] under the `url` key. The following are examples of the same content directory and what the eventual URL structure will be when Hugo runs with its default behavior. See [Content Organization][contentorg] for more details on paths. |