1.6 KiB
1.6 KiB
| title |
|---|
| Deploy a custom version of the linked-blog-starter |
By the end of this tutorial, you will have a custom version of the linked-blog-starter that deploys to Vercel
Fork the repository and get it to run locally
First, we want to fork the linked-blog-starter repo, then install-linked-blog-starter and run it locally.
Note: Update https://github.com/matthewwong525/linked-blog-starter with your own repository link
After doing the installations, you can update the components as you wish.
Make changes to the forked repository
Here are the docs for Next.JS and a few things to know about:
- Update
/next.config.jsto update the redirects - Use
/components/misc/preview-link.tsxto add link previews to any text on hover - The fleeting-notes-website repository is a fork with lots of good examples (including, post-list, comments, etc.)
- The
/common_md/directory is where the markdown files are stored in the common markdown format. Use obsidian-export to convert your notes to common markdown
Publish the repository and link it with an MD repository
- publish-your-obsidian-notes-with-linked-blog-starter your forked md repository
- [[update-publish-settings-github-actions|Update the
BLOG_REPOenvironment variable]] to point to your forked repo - OPTIONAL: connect-obsidian-vault-with-github