1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

feat: add events page and music widget

- add music source from Listenbrainz, easter egg and evets page
- update design of resume page

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2026-02-26 17:17:48 +05:30
committed by Morumotto
parent 6b07ea345f
commit ef70634b2a
20 changed files with 1429 additions and 387 deletions
+1 -2
View File
@@ -11,7 +11,7 @@ export async function getStaticPaths() {
}
const { post } = Astro.props;
const { Content, headings } = await render(post);
const { Content } = await render(post);
const wordCount = post.body?.split(/\s+/).length ?? 0;
const minutes = Math.max(1, Math.round(wordCount / 220));
@@ -27,7 +27,6 @@ const readingTime = `${minutes} min read`;
tags={post.data.tags}
image={post.data.image}
readingTime={readingTime}
headings={headings}
>
<Content />
</PostLayout>