Skip to content

Commit 8bb2dee

Browse files
committed
update
1 parent a714e8b commit 8bb2dee

File tree

5 files changed

+38
-34
lines changed

5 files changed

+38
-34
lines changed

css/prism.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,7 @@
142142
.token.table {
143143
display: inline;
144144
}
145+
146+
.linkcolor{
147+
color: #6366f1;
148+
}

data/authors/default.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ github: https://github.com/rishinrahim
1010

1111
Rishin Rahim is a Senior Machine Learning engineer, currently working @ Walmart. He helps to bring ML models into production and is deeply interested in LLMs, Graph Neural Networks, PyTorch, and Deep Learning at scale.
1212

13-
Rishin enjoys reading but often feels he could be more consistent with it. His favorite genres are science fiction, Adventure and historical non-fiction, and he’s particularly drawn to authors like
13+
Rishin enjoys reading but often feels he could be more consistent with it. His favorite genres are historical non-fiction, science fiction and survival non-fiction, and he’s particularly drawn to authors like
1414
Khaled Hosseini, VM Basheer, Jon Krakauer, Andy Weir, William Dalrymple, and Michael Crichton.
1515

16-
Lately, he’s been diving into the classics of science fiction, exploring the genre’s best.
1716

1817

1918

data/siteMetadata.js

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -47,36 +47,36 @@ const siteMetadata = {
4747
// Please add your .env file and modify it according to your selection
4848
provider: '',
4949
},
50-
// comments: {
51-
// // If you want to use an analytics provider you have to add it to the
52-
// // content security policy in the `next.config.js` file.
53-
// // Select a provider and use the environment variables associated to it
54-
// // https://vercel.com/docs/environment-variables
55-
// // provider: 'giscus', // supported providers: giscus, utterances, disqus
56-
// // giscusConfig: {
57-
// // // Visit the link below, and follow the steps in the 'configuration' section
58-
// // // https://giscus.app/
59-
// // repo: process.env.NEXT_PUBLIC_GISCUS_REPO,
60-
// // repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,
61-
// // category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY,
62-
// // categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,
63-
// // mapping: 'pathname', // supported options: pathname, url, title
64-
// // reactions: '1', // Emoji reactions: 1 = enable / 0 = disable
65-
// // // Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable
66-
// // metadata: '0',
67-
// // // theme example: light, dark, dark_dimmed, dark_high_contrast
68-
// // // transparent_dark, preferred_color_scheme, custom
69-
// // theme: 'light',
70-
// // // theme when dark mode
71-
// // darkTheme: 'transparent_dark',
72-
// // // If the theme option above is set to 'custom`
73-
// // // please provide a link below to your custom theme css file.
74-
// // // example: https://giscus.app/themes/custom_example.css
75-
// // themeURL: '',
76-
// // // This corresponds to the `data-lang="en"` in giscus's configurations
77-
// // lang: 'en',
78-
// // },
79-
// },
50+
comments: {
51+
// If you want to use an analytics provider you have to add it to the
52+
// content security policy in the `next.config.js` file.
53+
// Select a provider and use the environment variables associated to it
54+
// https://vercel.com/docs/environment-variables
55+
provider: 'giscus', // supported providers: giscus, utterances, disqus
56+
giscusConfig: {
57+
// Visit the link below, and follow the steps in the 'configuration' section
58+
// https://giscus.app/
59+
repo: process.env.NEXT_PUBLIC_GISCUS_REPO,
60+
repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,
61+
category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY,
62+
categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,
63+
mapping: 'pathname', // supported options: pathname, url, title
64+
reactions: '1', // Emoji reactions: 1 = enable / 0 = disable
65+
// Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable
66+
metadata: '0',
67+
// theme example: light, dark, dark_dimmed, dark_high_contrast
68+
// transparent_dark, preferred_color_scheme, custom
69+
theme: 'light',
70+
// theme when dark mode
71+
darkTheme: 'transparent_dark',
72+
// If the theme option above is set to 'custom`
73+
// please provide a link below to your custom theme css file.
74+
// example: https://giscus.app/themes/custom_example.css
75+
themeURL: '',
76+
// This corresponds to the `data-lang="en"` in giscus's configurations
77+
lang: 'en',
78+
},
79+
},
8080
// search: {
8181
// provider: 'kbar', // kbar or algolia
8282
// kbarConfig: {

layouts/PostSimple.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ export default function PostLayout({ content, next, prev, children }: LayoutProp
3939
<PageTitle>{title}</PageTitle>
4040
</div>
4141
<div className="mb-4 flex justify-center space-x-2">
42-
{tags.map((tag) => (
42+
<span>2213 words | <a href = "https://wordstotime.com/" className = "linkcolor">17 mins read </a></span>
43+
{/* {tags.map((tag) => (
4344
<span
4445
key={tag}
4546
className="rounded-md bg-gray-100 px-2 py-1 text-xs text-gray-700"
4647
>
4748
{tag}
4849
</span>
49-
))}
50+
))} */}
5051
</div>
5152
</div>
5253
</header>

0 commit comments

Comments
 (0)