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: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,10 @@ Static, [Hugo-based](https://gohugo.io) home of Solus and its projects. This web
12
12
### New Post
13
13
14
14
To create a new post, change to the main directory of this repo (solus-site.github.io).
15
-
From there, call `hugo new PATH`. The `PATH` format is `blog/year/month/post-title/post-title.md`.
15
+
From there, call `hugo new PATH`. The `PATH` format is `blog/year/month/post-title/index.md`.
16
16
17
-
For instance, to create a blog post for Feb. 2023 with the name "Welcome To The New Site", you would use: `hugo new blog/2023/02/welcome-to-the-new-site/welcome-to-the-new-site.md`.
18
-
This would create `content/blog/2023/02/welcome-to-the-new-site/welcome-to-the-new-site.md`.
17
+
For instance, to create a blog post for Feb. 2023 with the name "Welcome To The New Site", you would use: `hugo new blog/2023/02/welcome-to-the-new-site/index.md`.
18
+
This would create `content/blog/2023/02/welcome-to-the-new-site/index.md`.
19
19
20
20
The markdown file will be created with our default configuration, which you can update as necessary. For metadata, most fields are self-explanatory.
0 commit comments