Skip to content

Commit 64ba30c

Browse files
authored
Update blog-post submission instructions (open-telemetry#2251)
1 parent 92e3476 commit 64ba30c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,21 @@ new issue/PR with your content to get it added to the docs.
3737
Follow the [setup instructions][contributing.md] then, to create a skeletal blog
3838
post, run the following command from the repo root:
3939

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

44-
Start editing the markdown file at the path you provided in the previous
44+
If your post will have images or other assets, instead run:
45+
46+
```sh
47+
npx hugo new content/en/blog/2023/short-name-for-post/index.md
48+
```
49+
50+
Edit the markdown file at the path you provided in the previous
4551
command. The file is initialized from the blog-post starter under
4652
[archetypes](archetypes).
4753

48-
Put assets like images into the folder created.
54+
Put assets, if any, like images into the folder created.
4955

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

0 commit comments

Comments
 (0)