File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,21 @@ new issue/PR with your content to get it added to the docs.
37
37
Follow the [ setup instructions] [ contributing.md ] then, to create a skeletal blog
38
38
post, run the following command from the repo root:
39
39
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
42
42
```
43
43
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
45
51
command. The file is initialized from the blog-post starter under
46
52
[ archetypes] ( archetypes ) .
47
53
48
- Put assets like images into the folder created.
54
+ Put assets, if any, like images into the folder created.
49
55
50
56
Once your post is ready, submit it through a [ pull request] [ ] .
51
57
You can’t perform that action at this time.
0 commit comments