Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/community/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ In order to allow mentees to share the knowledge they learned and allow them to

* Encourage the mentee to speak (or even co-speak with them!) at the next relevant conference or meetup (e.g. PromCon, KubeCon, local meetup), etc!
* See the post-mentorship talks by [Arthur](https://www.youtube.com/watch?v=nWf0BfQ5EEA&t=1s) and [M Viswanath Sai and S Ashwin](https://www.youtube.com/watch?v=wkkXh8X0N8s) at PromCon conferences.
* Encourage the mentee to write a blog post on the [Prometheus blog](https://github.com/prometheus/docs/tree/main/blog-posts) or on their personal blog!
* Encourage the mentee to write a blog post on the [Prometheus blog](https://github.com/prometheus/docs/tree/main/blog) or on their personal blog!
* A virtual "Mentees Meetup", if we have enough content, is also an option.

## Code of Conduct
Expand Down
4 changes: 2 additions & 2 deletions src/blog-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "fs";
import path from "path";
import matter from "gray-matter";

const blogPostsDir = "blog-posts";
Copy link
Member

@bwplotka bwplotka Sep 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are doing this, let's also remove the filter from line 38 🙈

Also maybe blog/posts might be clearer (as @juliusv mentioned)

const blogPostsDir = "blog/posts";

export const postFileNameToParams = (fileName: string) => {
const [year, month, day, ...slug] = fileName.replace(/\.md$/, "").split("-");
Expand Down Expand Up @@ -35,7 +35,7 @@ export const getPostFilePath = (params: {
};

export const getAllPostFileNames = () => {
return fs.readdirSync(blogPostsDir).filter((f) => f !== "README.md");
return fs.readdirSync(blogPostsDir);
};

export const getAllPostParams = () => {
Expand Down