Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update blog-post submission instructions #2251

Merged
merged 2 commits into from
Feb 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,21 @@ new issue/PR with your content to get it added to the docs.
Follow the [setup instructions][contributing.md] then, to create a skeletal blog
post, run the following command from the repo root:

```console
$ npx hugo new content/en/blog/2022/short-name-for-your-blog-post/index.md
```sh
npx hugo new content/en/blog/2023/short-name-for-post.md
```

Start editing the markdown file at the path you provided in the previous
If your post will have images or other assets, instead run:

```sh
npx hugo new content/en/blog/2023/short-name-for-post/index.md
```

Edit the markdown file at the path you provided in the previous
command. The file is initialized from the blog-post starter under
[archetypes](archetypes).

Put assets like images into the folder created.
Put assets, if any, like images into the folder created.

Once your post is ready, submit it through a [pull request][].

Expand Down