Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using content type to organize the site #34

Open
houminz opened this issue Feb 9, 2023 · 1 comment
Open

Using content type to organize the site #34

houminz opened this issue Feb 9, 2023 · 1 comment
Labels

Comments

@houminz
Copy link
Owner

houminz commented Feb 9, 2023

Hugo can render alternative views of your content, which is especially useful in list and summary views.

Reference:

@houminz
Copy link
Owner Author

houminz commented Feb 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant