upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
2 changed files with 32 additions and 9 deletions
Showing only changes of commit f9fce2a55f - Show all commits

View File

@ -102,7 +102,16 @@ I wanted it to be nearly as feature-rich as popular blogging templates like [bea
## Quick Start Guide ## Quick Start Guide
1. TypeScript and Contentlayer (alpha) 1. Try installing the starter using the new [Pliny project CLI](https://github.com/timlrx/pliny):
```bash
npm i -g @pliny/cli
pliny new --template=starter-blog my-blog
```
It supports the updated version of the blog with Contentlayer, optional choice of TS/JS and different package managers as well as more modularized components which will be the basis of the template going forward.
Alternatively to stick with the current version, TypeScript and Contentlayer:
```bash ```bash
npx degit 'timlrx/tailwind-nextjs-starter-blog#contentlayer' npx degit 'timlrx/tailwind-nextjs-starter-blog#contentlayer'
@ -114,12 +123,6 @@ or JS (official support)
npx degit https://github.com/timlrx/tailwind-nextjs-starter-blog.git npx degit https://github.com/timlrx/tailwind-nextjs-starter-blog.git
``` ```
or with TypeScript (community support)
```bash
npx degit 'timlrx/tailwind-nextjs-starter-blog#typescript'
```
2. Personalize `siteMetadata.js` (site related information) 2. Personalize `siteMetadata.js` (site related information)
3. Modify the content security policy in `next.config.js` if you want to use 3. Modify the content security policy in `next.config.js` if you want to use
any analytics provider or a commenting solution other than giscus. any analytics provider or a commenting solution other than giscus.

View File

@ -77,7 +77,27 @@ I wanted it to be nearly as feature-rich as popular blogging templates like [bea
## Quick Start Guide ## Quick Start Guide
1. JS (official support) - `npx degit https://github.com/timlrx/tailwind-nextjs-starter-blog.git` or TS (community support) - `npx degit timlrx/tailwind-nextjs-starter-blog#typescript` 1. Try installing the starter using the new [Pliny project CLI](https://github.com/timlrx/pliny):
```bash
npm i -g @pliny/cli
pliny new --template=starter-blog my-blog
```
It supports the updated version of the blog with Contentlayer, optional choice of TS/JS and different package managers as well as more modularized components which will be the basis of the template going forward.
Alternatively to stick with the current version, TypeScript and Contentlayer:
```bash
npx degit 'timlrx/tailwind-nextjs-starter-blog#contentlayer'
```
or JS (official support)
```bash
npx degit https://github.com/timlrx/tailwind-nextjs-starter-blog.git
```
2. Personalize `siteMetadata.js` (site related information) 2. Personalize `siteMetadata.js` (site related information)
3. Modify the content security policy in `next.config.js` if you want to use 3. Modify the content security policy in `next.config.js` if you want to use
any analytics provider or a commenting solution other than giscus. any analytics provider or a commenting solution other than giscus.