diff options
Diffstat (limited to 'docs/content/en/content-management/types.md')
-rw-r--r-- | docs/content/en/content-management/types.md | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/docs/content/en/content-management/types.md b/docs/content/en/content-management/types.md index da45302a7..8ad0d7f6c 100644 --- a/docs/content/en/content-management/types.md +++ b/docs/content/en/content-management/types.md @@ -1,24 +1,21 @@ --- title: Content Types +linkTitle: Content Types description: Hugo is built around content organized in sections. -date: 2017-02-01 categories: [content management] -keywords: [lists,sections,content types,types,organization] +keywords: [lists, sections, content types, types, organization] menu: docs: - parent: "content-management" - weight: 60 -weight: 60 #rem -draft: false -aliases: [/content/types] + parent: content-management + weight: 130 toc: true +weight: 130 +aliases: [/content/types] --- A **content type** is a way to organize your content. Hugo resolves the content type from either the `type` in front matter or, if not set, the first directory in the file path. E.g. `content/blog/my-first-event.md` will be of type `blog` if no `type` is set. A content type is used to -* Determine how the content is rendered. See [Template Lookup Order](/templates/lookup-order/) and [Content Views](https://gohugo.io/templates/views) for more. -* Determine which [archetype](/content-management/archetypes/) template to use for new content. - - +- Determine how the content is rendered. See [Template Lookup Order](/templates/lookup-order/) and [Content Views](https://gohugo.io/templates/views) for more. +- Determine which [archetype](/content-management/archetypes/) template to use for new content. |