Refactoring for v3, please check master branch for v1.
This is a personal blog project template modeled after Tailwind-Nextjs-Starter-Blog based on NextJS and TailwindCSS, which can be used out of the box and has a high degree of custom freedom. Here is the DEMO
If you have any questions in use, please ask the issue, and I will reply and deal with it as soon as possible.
-
Out of box
- All your need to set only the
data
directory - Mobile-friendly view
- Light and dark theme
- Support for nested routing of blog posts
- Pinned Article
- Additional build-in markdown syntax support via mdx, can also customize
- Preconfigured security headers, which is SEO friendly
- Support RSS and Sitemap
- All your need to set only the
-
Markdown
- GFM support
- Math display supported via KaTeX & remark-math
- Syntax & line highlighting in VSCode style, and display line numbers in code blocks via rehype-prism-plus
-
Advanced development
- MDX support via contentlayer and mdx-bundler
- Support search everything in the blog via Algolia.Docsearch
- Support full-text search locally via @TBD
-
TODO
- Configurate all in one
- Pagination for the list page and the post page
- Chinese documentation
- Demo via GitHub and Vercel
- Infinity scrolling of the homepage
-
Need Fix
- The resouces url error under the data directory caused by the base path configuration
- Refacotor the header component to replace deprecated API