Skip to content

Blog as post type #59

Description

@joeroe

@mtomasini If you use the post content type for pages in the new blog, Hugo/risotto will automatically add some extra styling (see https://risotto.joeroe.io/post/ for an example). You can do this in two ways:

The simplest, since the blog is brand new, is to rename the content directory from blog/ to post/, then the content type will automatically be post.

Otherwise, if you want to keep them under blog/, you can add type: post to the frontmatter of each page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions