Skip to content

Commit 4d638ba

Browse files
committed
Dates and image paths in blog template
1 parent e11ac94 commit 4d638ba

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

content/posts/2025-event-fellowship-blog-template.md renamed to content/posts/YYYY-MM-DD-event-fellowship-blog-template.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
author: yourusername
3-
date: yyyy-mm-dd
3+
date: YYYY-MM-DD
44
draft: true
55
category:
66
- community
@@ -50,25 +50,25 @@ In your forked repository:
5050

5151
1. Navigate to `content/posts/`
5252
2. Click **"Add file" → "Create new file"**
53-
3. Name your file using the format:
53+
3. Name your file based on the date using the format:
5454
`YYYY-MM-DD-your-name-blog-title.md`
5555
_Example:_ `2025-04-29-your-name-nfcore-nextflow-hackathon.md`
5656

5757
4. View template raw, and Copy and paste all the contents of this template into the new file.
58-
5. Replace the placeholder text (title, author, content, image name, etc.) with your actual blog content.
58+
5. Replace the placeholder text (date, title, author, content, image name, etc.) with your actual blog content.
5959

6060
---
6161

6262
### 4. Upload Your Images
6363

64-
1. Navigate to the folder: `static/img/2025/`
64+
1. Navigate to the folder: `static/img/YYYY/` for the current year
6565
2. Click **"Add file" → "Upload files"**
6666
3. Upload your image(s) here using the format YYYY-MM-DD-image-name.jpg
6767

68-
To insert images in your blog post, use the following format:
68+
To insert images in your blog post, use the following format (without the static prefix):
6969

7070
```markdown
71-
![Your image caption](/wp-content/uploads/YYYY/YYYY-MM-DD-image-name.jpg)
71+
![Your image caption](/img/YYYY/YYYY-MM-DD-image-name.jpg)
7272
```
7373

7474
---
@@ -118,11 +118,11 @@ Describe the sessions, people, activities, or discoveries that stood out, emphas
118118

119119
### Add Images
120120

121-
Upload your images to `static/img/2025/`
122-
Then use:
121+
Upload your images to `static/img/YYYY/` for the current year.
122+
Then use the following without the static prefix:
123123

124124
```markdown
125-
![Alt text](/wp-content/uploads/YYYY/YYYY-MM-DD-image-name.jpg)
125+
![Alt text](/img/YYYY/YYYY-MM-DD-image-name.jpg)
126126
```
127127

128128
Example:

0 commit comments

Comments
 (0)