You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/contributing/blog.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,16 +95,16 @@ instructions provided by the
95
95
After you've set up the local fork you can create a blog post using a template.
96
96
Follow these steps to create a post from the template:
97
97
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):
99
99
100
100
```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
102
102
```
103
103
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):
105
105
106
106
```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
108
108
```
109
109
110
110
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:
129
129
130
130
1. Paste the content from the template you copied in the first step.
0 commit comments