Skip to content

Adding New PagesΒ #185

@iandstanley

Description

@iandstanley

Hi i'm new to Hugo but have used a few static site generators before.

I've figured out how to add a page by adding a markdown file in the root of the contents, and also how to add the page to the main menu (or not add to main menu as required).

When I look at a page that I have added (eg. page on localhost:1313/about/ for example) I get the blog previous/next post on the PAGE.

I assume I either have to add something to the page toml -- either turn off a setting or specify some page layout (and maybe I have to duplicate a layout without the blog prev/next)

I have looked at the template but it is a little beyond my current comprehension.
I thought that I could duplicate the layouts/index.html as layouts/about.html but then couldn't figure out how to force a particular layout.

How can I go about creating a page layout with out the blog previous/next entry at the bottom of the page?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions