hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

types.md (878B)

    1 ---
    2 title: Content Types
    3 description: Hugo is built around content organized in sections.
    4 date: 2017-02-01
    5 categories: [content management]
    6 keywords: [lists,sections,content types,types,organization]
    7 menu:
    8   docs:
    9     parent: "content-management"
   10     weight: 60
   11 weight: 60	#rem
   12 draft: false
   13 aliases: [/content/types]
   14 toc: true
   15 ---
   16 
   17 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.
   18 
   19 A content type is used to
   20 
   21 * Determine how the content is rendered. See [Template Lookup Order](/templates/lookup-order/) and [Content Views](https://gohugo.io/templates/views) for more.
   22 * Determine which [archetype](/content-management/archetypes/) template to use for new content.
   23 
   24