mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-07 17:46:05 +00:00
845 B
845 B
title | description | categories | keywords | menu | toc | weight | aliases | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Content Types | Hugo is built around content organized in sections. |
|
|
|
true | 130 |
|
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 and Content Views for more.
- Determine which archetype template to use for new content.