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

Adding New Pages #185

Open
iandstanley opened this issue May 24, 2022 · 0 comments
Open

Adding New Pages #185

iandstanley opened this issue May 24, 2022 · 0 comments

Comments

@iandstanley
Copy link

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?

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

No branches or pull requests

1 participant