From 82c02b8414b822401e137aca8b2562221b51e5ac Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Fri, 17 Feb 2017 20:33:06 -0600 Subject: [PATCH] Update content sections admonition --- content/content-management/content-sections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/content-management/content-sections.md b/content/content-management/content-sections.md index 408a71815..dd43e8f80 100644 --- a/content/content-management/content-sections.md +++ b/content/content-management/content-sections.md @@ -51,7 +51,7 @@ Hugo will automatically create pages for each section root that list all of the As of Hugo v0.18, section pages can also have a content file and front matter. These section content files must be placed in their corresponding section folder and named `_index.md` in order for Hugo to correctly render the front matter and content. {{% warning "`index.md` vs `_index.md`" %}} -Hugo themes developed before v0.18 often used an `index.md` in a content section as a hack to emulate the behavior of `_index.md`. The hack may work...*sometimes*. The order of page rendering can be unpredictable in Hugo. What works now may fail to render appropriately once you begin adding more content to your site. It is *strongly advised* to use `_index.md` the *preferred* content section index page. **Note:** `_index.md`'s layout is a [list template](/templates/list-and-section-templates/). +Hugo themes developed before v0.18 often used an `index.md` in a content section as a hack to emulate the behavior of `_index.md`. The hack may work...*sometimes*; however, the order of page rendering can be unpredictable in Hugo. What works now may fail to render appropriately as your site grows. It is *strongly advised* to use `_index.md` as the *preferred* content section index page. **Note:** `_index.md`'s layout, as representative of a section, is a [list template](/templates/list-and-section-templates/) and *not* a single template. {{% /warning %}} ## Content Section vs Content Types