Closed timlrx closed 2 years ago
Typescript! But I realize it's probably not realistic. :)
Edit: just noted the community support of Typescript. <3
contentlayer support.
Any particular feature in contentlayer that you are looking for?
The 2 main advantages I can see are automatic content validation and support for other content types (but would you use Sanity together with Contentful and markdown?).
The downsides are that is in alpha stage, is restricted to local content only and you have to manage two config files with similar information if you want to couple it with a git based CMS like netlifyCMS or forestry.io.
The additional boilerplate code will be addressed with the new repository structure where I will export these utility functions and types.
I haven't used it yet, but it appears to be a decent facade that would abstract the content source from the page building logic. That was the appeal when I was looking at it this morning.
Tailwind 3.0 was released https://tailwindcss.com/blog/tailwindcss-v3
@louwers the main template is now on tailwind 3.0.
Tailwind 3.0 was released https://tailwindcss.com/blog/tailwindcss-v3
hello i use this template using tailwind 2 how can I upgrade to tailwind 3?
Hi @fiqryq, you can use the file diff in https://github.com/timlrx/tailwind-nextjs-starter-blog/pull/295/files to update your template.
Edit: You would need to make the following changes as well: https://github.com/timlrx/tailwind-nextjs-starter-blog/pull/301/files
I love your template man! Great stuff!
I only had to add on my own YouTube support. So you can add it to your roadmap, super easy to add -> https://github.com/derberg/derberg.github.io/commit/1bbc5e4ab1d7fb32ecc6598d02343baf5fd1efda and then just use it like <YouTube id="1GSaf4b1-Qw" />
in MDX files
Thanks @derberg! Here's my preferred way of doing it: https://github.com/timlrx/tailwind-nextjs-starter-blog/pull/311, as an iframe directly in the mdx. Or there's mdx-embed as well which supports many other social media widgets.
No worries. I personally prefer consistency always. So in mdx I want to use components, no HTML directly, especially avoiding iframes 😄
mdx-embed
does look nifty! would be betterContentSecurityPolicy
that I had to modify to enable embedding youtube videos. So no matter what solution you choose, component or iframe, would be cool to explain it, probably another example article or something. I'm not sure if everyone would know how to get this fixedI'm happy to contribute this part if you want, no matter what is your final decision. Thanks to your template I set up my blog (https://www.brainfart.dev/) in just a few hours, just love it mate! Want to pay back my time, if you need it!
Hello! I love your template. I was thinking an i18n for blog posts in different languages would be nice. What do you all think?
There is a fork by @GautierArcin that supports i18n, but the plan is to have better out of the box support for the new template.
It would be interesting if somehow we could add images in md that can be viewed after in a "lightbox" gallery
@alexghi it's possible to take the images specified in the frontmatter and render them as a lightbox gallery in the post layout. Currently, that seems like a pretty niche use case and best implemented by the user. With the re-structure planned in v2, we can support more user-contributed layouts which might include something like what you described.
First of all thank you so much for creating this starter, I love it. It would be nice to include a search function.
Also it would be nice if there would be an easier method to publish new posts. Right now I host this myself and I publish using a docker build, this is quite time consuming.
There is a "search" functionality that goes through all the posts titles. Are you having in mind something more powerful that searches inside the articles as well? such as MeiliSearch (i like this one because it's powerful and lightweight, has very good doc)?
You can have full search with https://lunrjs.com/. I use it some time ago for building search index, pretty nifty, client-side search 💪🏼
But out of the box integration with Algolia Docu Search would be nifty too
Search would probably be implemented like the existing analytics
or comments
components, where you can pick and choose what works for you, or none at all. The first one would probably be Algolia given its popularity and ease of integration (for public projects).
For reference, here are the search options supported by docusaurus.
I love this theme! Have more of a question of sustaining the versioning and keeping up to date with customization. So in a way, increasing maintainability by understanding which components I can add / adjust and what is sort of a core that gets updated. Not sure if that is possible.
I am also thinking of connecting a Notion API (so that the posts get pulled from notion instead) but that would probably mess with the MDX.
Generally more out of the box integrations might be cool, but I guess depends on the demand.
The current version is not respecting the device's text size configurations. I have set VERY LARGE in my mobile and many other sites adjust text like this but this template doesn't adjust for it. Hard to read the small text
I have a couple of suggestions
Please contribute to the discussion at https://github.com/timlrx/tailwind-nextjs-starter-blog/discussions/275 to centralize the information in one place.
This is just for notification purposes. I will delete any post after this. Thanks!
+1 web mentions I will like to add support for parsing Obsidian links.
I would like to see the following features:
moved to https://github.com/timlrx/tailwind-nextjs-starter-blog/discussions/275 instead.
For those of us that choose to have analytics I think it would be really helpful for there to be some sort of cookie popup asking users to accept
need support zoom image when click in markdown.
I've been used tailwind-nextjs-starter-blog for a long time, thanks a lot for its development. I'd suggest some features which demanded:
- Additional details for tag page (yes!)
I've been used tailwind-nextjs-starter-blog for a long time, thanks a lot for its development. I'd suggest some features which demanded:
- links to similar articles (based on common tags)
- most popular articles on the front page
- breadcrumbs for articles
- Additional details for tag page (yes!)
related post based on tags
any updates on v2?
It's up! Check out https://github.com/timlrx/pliny. I would probably want to settle a few more issues before merging a copy of the template back over here.
For more information, check out https://github.com/timlrx/tailwind-nextjs-starter-blog/discussions/469
Could it upgrade to react 18? since I would like to use latest react three fiber
Could it upgrade to react 18? since I would like to use latest react three fiber
I've upgraded mine to react 18, next 12.3.4 and mdx-bundler to 9, here is a copy
Please feel free to checkout and give it a try.
any updates on V2?
Any feedback and suggestions? Kindly post them in https://github.com/timlrx/tailwind-nextjs-starter-blog/discussions/275