From d3cb05a7404025edbbb9732863a40c8bcf3ae67f Mon Sep 17 00:00:00 2001 From: Marvin Hockenjos Date: Thu, 31 Aug 2017 19:47:00 +0200 Subject: [PATCH] Fix wrongly named default value of publishDir --- content/content-management/urls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/content-management/urls.md b/content/content-management/urls.md index 0d92a5209..f6f8df11f 100644 --- a/content/content-management/urls.md +++ b/content/content-management/urls.md @@ -24,7 +24,7 @@ The default Hugo target directory for your built website is `public/`. However, The `permalinks` option in your [site configuration][config] allows you to adjust the directory paths (i.e., the URLs) on a per-section basis. This will change where the files are written to and will change the page's internal "canonical" location, such that template references to `.RelPermalink` will honor the adjustments made as a result of the mappings in this option. {{% note "Default Publish and Content Folders" %}} -These examples use the default values for `publishDir` and `contentDir`; i.e., `publish` and `content`, respectively. You can override the default values in your [site's `config` file](/getting-started/configuration/). +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 `post` 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.