daattali / beautiful-jekyll

✨ Build a beautiful and simple website in literally minutes. Demo at https://beautifuljekyll.com
https://beautifuljekyll.com
MIT License
5.39k stars 16.27k forks source link

Unable to show posts under "blog" navbar #389

Closed xw321 closed 6 years ago

xw321 commented 6 years ago

Hi daattali, I really enjoyed the beautiful-jekyll and I've been using it to build my own page recently.

However I have encountered an issue when I tried to display posts under the "blog" navbar. I have created a blog folder and added an index.html to it, but posts are not listed there. I have checked with other users who has the similar layout but I couldn't find the problem.

An example layout is like this, where the home page doesn't have posts, and they can be found under the "news" navbar. I have tried to put the portion about post list (from index.html in root) to the HTML file under blog folder, but still not working.

Hope you can take a look, thank you.

xw321 commented 6 years ago

nvm fixed!

noahmanion commented 5 years ago

How did you fix it? Having a similar problem.

xw321 commented 5 years ago

How did you fix it? Having a similar problem.

HI, sorry for replying late. It's been a long time after I fixed this, I barely recall any details. My suggestion would be take closer look at my repository and other similar ones. I think I spent some time tweaking the _config.yml file. Good luck.

TaoDFang commented 4 years ago

yes I have same problem....

noahmanion commented 4 years ago

I added a directory called 'blog' and put an index file in there that contains page metadata and the code to create a post index. I also listed 'blog' in the navbar section of config.yml. You can see on my github.io repo.

daattali commented 4 years ago

Read the FAQ section of the README, there's a paragraph about this.

TaoDFang commented 4 years ago

I added a directory called 'blog' and put an index file in there that contains page metadata and the code to create a post index. I also listed 'blog' in the navbar section of config.yml. You can see on my github.io repo.

Thanks Man it works !

TaoDFang commented 4 years ago

Read the FAQ section of the README, there's a paragraph about this.

Hi daattali, thanks for your reply. I did the same thing as README file says. But it didnt work. I checked other people's page. I think its import to manually change index.html file in blog folder to add blogs

daattali commented 4 years ago

This theme has gone through a lot of updates in the last month. If you think there are issues with the current setup+instructions (if you fork the current version of the project), feel free to fix it in the README!

TaoDFang commented 4 years ago

Yeah, will do this after I figure out whats really happening there. Dont want to create problems for other people