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

How can i customize my blog? #19

Open
hegzploit opened this issue Dec 14, 2020 · 4 comments
Open

How can i customize my blog? #19

hegzploit opened this issue Dec 14, 2020 · 4 comments

Comments

@hegzploit
Copy link

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

@dwwoelfel
Copy link
Contributor

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 [email protected]:YusufHegazy/oneblog.git
git switch --orphan next
git pull [email protected]: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.

@hegzploit
Copy link
Author

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 [email protected]:YusufHegazy/oneblog.git
git switch --orphan next
git pull [email protected]: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?

@dwwoelfel
Copy link
Contributor

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

@hegzploit
Copy link
Author

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!

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