- Notifications
You must be signed in to change notification settings - Fork25
博客
zhangyu1818/blog
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
My personal blog.
UsingNext.js v14 App Router and React Server Components. Styling withTailwindCSS.
Using@discublog/api to query GitHub repository discussions and rendering Markdown with@mdx-js/mdx.
Important
Make sure to opendiscussions on the new repository after creating it in "Create Git Repository" and before adding environment variables.
Important
After enabling Discussions, please make sure tostart a new discussion, and feel free to choose any topic.
- Enable your blog repository discussions.
- Write a new discussion.
- Make sure you have the GitHub Profile repository like
zhangyu1818/zhangyu1818. - Modify sitemetadata.
- Modify Google verificationhere.
- Modify the Giscus scripthere.
- Modify theresume page.
- Put your avatar file in
src/images/avatar.webp. - Put your favicon file in
src/app/favicon.ico. - Put your icons in
public/icon.
create.env file in root folder.
GITHUB_TOKEN=<required>OPENAI_API_KEY=<optional>REPO_NAME=<required>REPO_OWNER=<required>If you need Open AI to generate your article summaries, deletesummary.json in root folder and paste yourOPENAI_API_KEY in.env.
About
博客
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.