Skip to content

Commit 35f0962

Browse files
committed
Simplify README and clarify new-post title prompt
1 parent 90b49af commit 35f0962

2 files changed

Lines changed: 3 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,9 @@ A static blog template built with [Astro](https://astro.build).
44

55
## 🚀 Getting Started
66

7-
1. Create your blog repository:
8-
- [Generate a new repository](https://github.com/saicaca/fuwari/generate) from this template or fork this repository.
9-
- Or run one of the following commands:
10-
```sh
11-
npm create fuwari@latest
12-
yarn create fuwari
13-
pnpm create fuwari@latest
14-
bun create fuwari@latest
15-
deno run -A npm:create-fuwari@latest
16-
```
17-
2. To edit your blog locally, clone your repository, run `pnpm install` to install dependencies.
7+
1. To edit your blog locally, clone your repository, run `pnpm install` to install dependencies.
188
- Install [pnpm](https://pnpm.io) `npm install -g pnpm` if you haven't.
19-
3. Edit the config file `src/config.ts` to customize your blog.
20-
4. Run `pnpm new-post <filename>` to create a new post and edit it in `src/content/posts/`.
21-
5. Deploy your blog to Vercel, Netlify, GitHub Pages, etc. following [the guides](https://docs.astro.build/en/guides/deploy/). You need to edit the site configuration in `astro.config.mjs` before deployment.
9+
2. Run `pnpm new-post <filename>` to create a new post and edit it in `src/content/posts/`.
2210

2311
## 📝 Frontmatter of Posts
2412

scripts/new-post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function main() {
9999
categoryDefault = ''
100100
}
101101

102-
const title = await ask(`Title (default: ${args[0]}): `) || args[0]
102+
const title = await ask(`Title (default: ${args[0]} il nome deve essere del formato <ctf_name>-<challenge_name>): `) || args[0]
103103
const description = await ask("Description: ") || "''"
104104
const image = await ask("Image: ") || "''"
105105
const tagsInput = await ask("Tags (comma separated eg: web,crypto,rev): ") || ""

0 commit comments

Comments
 (0)