kakawait / hugo-tranquilpeak-theme

A gorgeous responsive theme for Hugo blog framework
https://tranquilpeak.kakawait.com
GNU General Public License v3.0
926 stars 525 forks source link

Unable to See posts on the landing page after following user start guide #256

Open LachlanLindsay opened 6 years ago

LachlanLindsay commented 6 years ago

Configuration

Posts are not rendering on the landing page. I have the same configuration as provided in example site, and copied over additional posts. I am able to render all the posts normally when searching for them via tag.

sle-c commented 6 years ago

I encountered the same problem.

In your content/ folder, change posts/ folder to post/ because the theme will look for all files post/ folder and not posts/

kakawait commented 6 years ago

I don't think is theme itself that choose post over posts. It's Hugo.

But there maybe an error on Doc i will check that

lesywix commented 6 years ago

I meet the same problem,and i change posts/ to post/ to solve it. Or just use command hugo new post/xxx.md

kakawait commented 6 years ago

Ok if many get issues I think there is a bullshit inside doc. I will review it.

Thank you @LachlanLindsay @omnisyle and @weixianglin

healiseu commented 6 years ago

Hi @kakawait thanks for sharing this great hugo theme with all of us :+1:

I encountered the same problem with the content, so I had to follow the fix that @omnisyle suggested. I also had problems with the Categories link of the sidebar. They were not displayed, and I had to change the baseURL of your exampleSite\config.toml

baseURL = "https://localhost:1313/"

Generally speaking, as a newcomer in Hugo I would strongly recommend you also add more documentation on exactly how to test locally your theme with the content you have in your exampleSite folder. This will save many new users from frustration such as this experienced here and mine too :relaxed:.

Thanks again Athanassios I. Hatzis

PS: I noticed that many themes have exampleSite folders but unfortunately both Install and Use Themes and Quick Start guides at Hugo Site are not giving examples on how to test locally these exampleSite folders.

kakawait commented 3 years ago

Problem related to post vs posts was fixed.

For baseUrl I'll check for next release.