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

Posts not showing #89

Closed
fernandomantoan opened this issue Mar 30, 2021 · 3 comments
Closed

Posts not showing #89

fernandomantoan opened this issue Mar 30, 2021 · 3 comments

Comments

@fernandomantoan
Copy link

I was trying to upgrade my blog to the newest hugo-paper and hugo versions (0.82.0) and something weird happened, the front page stopped showing my blog posts. I then tried following the hugo quick start tutorial and adding paper as the theme to check if maybe I was missing something and the same behavior happened when I activated paper:

Screen Shot 2021-03-30 at 15 53 26

The structure is identical to the one in the quick start article, just one blog post and a simple configuration file as follows:

baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "paper"

Screen Shot 2021-03-30 at 15 54 56

I activated another theme to check and the posts appeared:

Screen Shot 2021-03-30 at 15 55 59

Is there anything that I'm missing? Or is it related to hugo's version 0.82.0?

@nanxiaobei
Copy link
Owner

Try this directory structure: https://github.com/gohugoio/hugoBasicExample/tree/master/content, hugo-paper is based on that.

Try post folder, not posts.

@fernandomantoan
Copy link
Author

I changed the posts folder to post but got the same result. I also added a new file about.md to test and got the following result:

Screen Shot 2021-03-31 at 10 30 12

Screen Shot 2021-03-31 at 10 30 30

For now I switched to another theme, later on I will give it another try.

@fernandomantoan
Copy link
Author

After adding an empty _index.md file it seems to have worked:

Screen Shot 2021-03-31 at 10 34 48

Screen Shot 2021-03-31 at 10 35 10

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

2 participants