Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shuding/blog-template
https://github.com/shuding/blog-template
blog cdn markdown mdx nextjs vercel zeit
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shuding/blog-template
- Owner: shuding
- Created: 2019-09-18T11:00:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T09:20:08.000Z (about 4 years ago)
- Last Synced: 2024-10-03T12:44:54.693Z (about 1 month ago)
- Topics: blog, cdn, markdown, mdx, nextjs, vercel, zeit
- Language: JavaScript
- Homepage: https://blog-template.vercel.app
- Size: 296 KB
- Stars: 29
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js Blog Template
A simple and out-of-the-box Next.js blog template with Markdown (MDX), RSS, CDN (▲ Vercel) support.
Demo: [blog-template.vercel.app](https://blog-template.vercel.app)
## Create Your Own Blog
[![Deploy with Vercel](https://vercel.com/button)](https://deploy.new/shuding/blog-template)
## Tips
- Update your blog name and URL in `rss.js`.
- The structure of `/pages` directory will be the exact same as your site's URL structure.
- To list a post on myblog.com/posts, add it to `/pages/posts/index.mdx`.
- Put all your static files (files, images, etc.) under the `/static` folder (will be cached in the CDN).
- Put all your public files (favicons, etc.) under the `/public` folder (will be accessiable via the root path: myblog.com/).
- The components (navbar, footer, etc.) are located in `/theme` directory.
- To change the styles / add Google Analytics, see `/theme/container.js`.## ▲
Every single push to master gets deployed to the **[▲ Vercel](https://vercel.com)** Cloud automatically.
Powered by **Next.js**, **MDX** and **▲ Vercel**.## Development
- Install `yarn` from [yarnpkg.org](https://yarnpkg.org)
- Run `yarn dev` and open `localhost:3000`## License
Open sourced under the MIT License.