OneGraph / oneblog

Build a blog backed by GitHub issues

Home Page:https://github.com/OneGraph/oneblog/tree/next

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i customize my blog?

hegzploit opened this issue · comments

Been trying to make some modifications to the stock blog i have deployed but I can't seem to understand how all of this works together!
For example, I just want to display the titles like in Stepan's Blog

I'd recommend that you start from the next branch of oneblog, which uses next.js and deploys to vercel. Since your repo is from a template, you'll have to run the following steps:

git clone git@github.com:YusufHegazy/oneblog.git
git switch --orphan next
git pull git@github.com:onegraph/oneblog next

Then if you go through the setup instructions, you can get your blog to run locally: https://github.com/OneGraph/oneblog#setup

From there, you can make changes to Posts.js to display titles only like Stepan's blog.

I'd recommend that you start from the next branch of oneblog, which uses next.js and deploys to vercel. Since your repo is from a template, you'll have to run the following steps:

git clone git@github.com:YusufHegazy/oneblog.git
git switch --orphan next
git pull git@github.com:onegraph/oneblog next

Then if you go through the setup instructions, you can get your blog to run locally: https://github.com/OneGraph/oneblog#setup

From there, you can make changes to Posts.js to display titles only like Stepan's blog.

I did that and got it working nice and clean locally.
But whenever i try to commit and push, it just says everything's up to date even tho it's not?

Are you pushing the next branch to GitHub? I managed to get it to work on a fork of https://github.com/YusufHegazy/oneblog: https://github.com/dwwoelfel/oneblog-2/tree/next

Are you pushing the next branch to GitHub? I managed to get it to work on a fork of https://github.com/YusufHegazy/oneblog: https://github.com/dwwoelfel/oneblog-2/tree/next

Aah, I've probably been pushing to the wrong branch, my bad!
Thanks a lot for the help!