Skip to content

Commit 9e7e359

Browse files
committed
fix: update commands in content/en/docs/contributing/blog.md
1 parent 45a322d commit 9e7e359

File tree

1 file changed

+7
-6
lines changed
  • content/en/docs/contributing

1 file changed

+7
-6
lines changed

content/en/docs/contributing/blog.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ instructions provided by the
9595
After you've set up the local fork you can create a blog post using a template.
9696
Follow these steps to create a post from the template:
9797

98-
1. Run the following command from the repository root:
98+
1. Run the following command from the repository root (please ensure the year in the path is correct, as your blog will be created in that directory):
9999

100100
```sh
101-
npx hugo new content/en/blog/2024/short-name-for-post.md
101+
npx hugo new content/en/blog/2025/short-name-for-post.md
102102
```
103103

104-
If your post has images or other assets, run the following command:
104+
If your post has images or other assets, run the following command (please ensure the year in the path is correct, as your blog will be created in that directory):
105105

106106
```sh
107-
npx hugo new content/en/blog/2024/short-name-for-post/index.md
107+
npx hugo new content/en/blog/2025/short-name-for-post/index.md
108108
```
109109

110110
1. Edit the Markdown file at the path you provided in the previous command. The
@@ -129,8 +129,9 @@ new post. Follow these steps to add a post using the UI:
129129

130130
1. Paste the content from the template you copied in the first step.
131131

132-
1. Name your file, for example
133-
`content/en/blog/2022/short-name-for-your-blog-post/index.md`.
132+
1. Name your file (please ensure the year in the path is correct, as your blog will be created in that directory), for example:
133+
134+
`content/en/blog/2025/short-name-for-your-blog-post/index.md`.
134135

135136
1. Edit the Markdown file in GitHub.
136137

0 commit comments

Comments
 (0)