Skip to content

Commit 4ef38f8

Browse files
luke6Lh43chalin
authored andcommitted
fix: update commands in content/en/docs/contributing/blog.md
1 parent 10ba698 commit 4ef38f8

File tree

1 file changed

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

1 file changed

+11
-6
lines changed

content/en/docs/contributing/blog.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,19 @@ 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
99+
the path is correct, as your blog will be created in that directory):
99100

100101
```sh
101-
npx hugo new content/en/blog/2024/short-name-for-post.md
102+
npx hugo new content/en/blog/2025/short-name-for-post.md
102103
```
103104

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

106109
```sh
107-
npx hugo new content/en/blog/2024/short-name-for-post/index.md
110+
npx hugo new content/en/blog/2025/short-name-for-post/index.md
108111
```
109112

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

130133
1. Paste the content from the template you copied in the first step.
131134

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

135140
1. Edit the Markdown file in GitHub.
136141

0 commit comments

Comments
 (0)