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: app/guide/how-to-publish.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ You need three things to contribute:
21
21
## How to publish a post
22
22
23
23
1. Create a branch. The name of the branch doesn’t matter too much but you could name it after your post title.
24
-
2. Add a new markdown file in `app/posts/[service-name]/YYYY/MM/[post-name].md`. It’s often easier to duplicate an existing post. That way, you will have the headers that contain basic information that all posts need.
24
+
2. Add a new markdown file in `app/[service-name]/YYYY/MM/[post-name]/index.md`. It’s often easier to duplicate an existing post. That way, you will have the headers that contain basic information that all posts need.
25
25
3. Edit the post with your content – make sure it has a title and date.
26
-
4. If you have images, add them to a folder in `app/images/[service-name]/YYYY/MM/[post-name]/`.
26
+
4. If you have images or PDFs, add them to the same subfolder containing the post, for example `app/[service-name]/YYYY/MM/[post-name]/`.
27
27
5. Open a pull request with your changes and ask for someone to review it. A preview will be available linked from the pull request.
28
28
6. Once it’s reviewed, you can merge the pull request and the post will appear live within a minute or so.
0 commit comments