transitive-bullshit / nextjs-notion-starter-kit

Deploy your own Notion-powered website in minutes with Next.js and Vercel.
https://transitivebullsh.it/nextjs-notion-starter-kit
MIT License
6.28k stars 5.29k forks source link

about the page of tag #306

Open XLJZT opened 2 years ago

XLJZT commented 2 years ago

Hello, I am a student who recently discovered this treasure project. I like using notion as my blog. Before this I used Hexo as my blog. The submission process was a bit complicated until I found this project, i just love this project.

But I've found that I still have a few things I don't know about using the project, such as how to generate a/tag page and, like your home page, add color blocks to text that isn't a link. The programming language I'm working on is C # , and when I set the code language to C # in notion, it can't be highlighted in the web page, code is All Black, I have to set it to C,

in fact, I'd love to visit your notion page to learn how to create and transform my blog, and how to make it as Nice and BLE as Yours

If you can reply, thank you very much, wish you a happy life Thanks!

transitive-bullshit commented 2 years ago

Hmmm, this should be the line which enables C# syntax highlighting on the main branch https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/components/NotionPage.tsx#L49

I'm not quite sure what you mean by tag page, but if you're referring to the top navigation in the header, you can change the header navigation by uncommenting and editing these lines: https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/site.config.ts#L51-L61

Hope that helps 🙂

XLJZT commented 2 years ago

Very happy to receive your reply, my English is very poor, so I had to use the translation software for translation

image

https://www.xljzt.top/knight%E5%A4%A7%E4%BD%9C%E6%88%98

When I click on the tag unity, C # , GMAE, there is no jump to a tag page, but when I click on your site there is a category page

image

When I changed the code language to C # , the web page looked like this, and I wondered if it was because of C# != CSHARP

I put the web link above, to facilitate you to deal with and view my problem, thank you for your time to reply to me

Latias94 commented 2 years ago

Hmmm, this should be the line which enables C# syntax highlighting on the main branch https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/components/NotionPage.tsx#L49

I'm not quite sure what you mean by tag page, but if you're referring to the top navigation in the header, you can change the header navigation by uncommenting and editing these lines: https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/site.config.ts#L51-L61

Hope that helps 🙂

Is there any plan to merge the click tag feature https://github.com/transitive-bullshit/nextjs-notion-starter-kit/commit/57e864aba663cf78f8ecdc35dc630817051bdfee to the main branch?

daynoti commented 8 months ago

Until 2.29.2024, it still not solved. But in your blog, it will be jump into tag page when i clicked it. In my fork of branch main, it not run.