-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
258 lines (218 loc) · 8.41 KB
/
index.html
File metadata and controls
258 lines (218 loc) · 8.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!doctype html>
<html
class="not-ready lg:text-base"
style="--bg:#fbfbfb"
lang="en"
dir="ltr"
><head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Hemendra</title>
<meta name="theme-color" />
<meta
name="description"
content="A personal blog"
/>
<meta name="author" content="Hemendra" /><link rel="preload stylesheet" as="style" href="https://www.hemc4.com/main.min.css" />
<link rel="preload" as="image" href="https://www.hemc4.com/theme.png" />
<link rel="preload" as="image" href="https://www.gravatar.com/avatar/bd6df7fa24163910d5803f3a6e63aa09?s=160&d=identicon" />
<link rel="preload" as="image" href="https://www.hemc4.com/twitter.svg" /><link rel="preload" as="image" href="https://www.hemc4.com/github.svg" /><link rel="preload" as="image" href="https://www.hemc4.com/linkedin.svg" />
<link
rel="icon"
href="https://www.hemc4.com/favicon.ico"
/>
<link
rel="apple-touch-icon"
href="https://www.hemc4.com/apple-touch-icon.png"
/>
<meta name="generator" content="Hugo 0.153.5">
<meta itemprop="name" content="Hemendra">
<meta itemprop="datePublished" content="2025-12-31T12:01:05+05:30">
<meta itemprop="dateModified" content="2025-12-31T13:56:26+05:30"><meta property="og:url" content="https://www.hemc4.com/">
<meta property="og:site_name" content="Hemendra">
<meta property="og:title" content="Hemendra">
<meta property="og:locale" content="en">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Hemendra">
<link
rel="alternate"
type="application/atom+xml"
href="https://www.hemc4.com/atom.xml"
title="Hemendra"
/><link
rel="alternate"
type="application/rss+xml"
href="https://www.hemc4.com/rss.xml"
title="Hemendra"
/><link
rel="alternate"
type="application/json"
href="https://www.hemc4.com/search.json"
title="Hemendra"
/>
<link rel="canonical" href="https://www.hemc4.com/" />
</head>
<body
class="bg-(--bg) text-black antialiased duration-200 ease-out [-webkit-tap-highlight-color:transparent] dark:text-white"
><header
class="mx-auto flex h-[4.5rem] max-w-(--w) px-8 whitespace-nowrap lg:justify-center"
>
<div class="relative z-50 flex items-center ltr:mr-auto rtl:ml-auto">
<a
class="-translate-y-[1px] text-2xl font-medium"
href="https://www.hemc4.com/"
>Hemendra</a
>
<div
class="btn-dark text-[0px] ltr:ml-4 rtl:mr-4 h-6 w-6 shrink-0 cursor-pointer [background:url(./theme.png)_left_center/_auto_theme('spacing.6')_no-repeat] [transition:_background-position_0.4s_steps(5)] dark:[background-position:right]"
role="button"
aria-label="Dark"
></div>
</div>
<div
class="btn-menu relative z-50 flex h-[4.5rem] w-[5rem] shrink-0 cursor-pointer flex-col items-center justify-center gap-2.5 lg:hidden ltr:-mr-8 rtl:-ml-8"
role="button"
aria-label="Menu"
></div>
<script>
const htmlClass = document.documentElement.classList;
setTimeout(() => {
htmlClass.remove('not-ready');
}, 10);
const btnMenu = document.querySelector('.btn-menu');
btnMenu.addEventListener('click', () => {
htmlClass.toggle('open');
});
const metaTheme = document.querySelector('meta[name="theme-color"]');
const lightBg = '#fbfbfb'.replace(/"/g, '');
const setDark = (isDark) => {
metaTheme.setAttribute('content', isDark ? '#000' : lightBg);
htmlClass[isDark ? 'add' : 'remove']('dark');
localStorage.setItem('dark', isDark);
};
const darkScheme = window.matchMedia('(prefers-color-scheme: dark)');
if (htmlClass.contains('dark')) {
setDark(true);
} else {
const darkVal = localStorage.getItem('dark');
setDark(darkVal ? darkVal === 'true' : darkScheme.matches);
}
darkScheme.addEventListener('change', (event) => {
setDark(event.matches);
});
const btnDark = document.querySelector('.btn-dark');
btnDark.addEventListener('click', () => {
setDark(localStorage.getItem('dark') !== 'true');
});
</script>
<div
class="nav-wrapper fixed inset-x-0 top-full z-40 flex h-full flex-col justify-center bg-(--bg) pb-16 duration-200 select-none lg:static lg:h-auto lg:flex-row lg:bg-transparent! lg:pb-0 lg:transition-none"
><nav
class="lg:ml-12 lg:flex lg:flex-row lg:items-center lg:space-x-10 rtl:space-x-reverse"
><a
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
href="/posts/"
>Posts</a
><a
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
href="/about/"
>About</a
><a
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
href=""
></a
><a
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
href=""
></a
><a
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
href=""
></a
></nav><nav
class="mt-12 flex justify-center space-x-10 lg:mt-0 lg:items-center ltr:lg:ml-14 rtl:space-x-reverse rtl:lg:mr-14 dark:invert"
>
<a
class="h-7 w-7 text-[0px] [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
style="--url: url(./twitter.svg)"
href="https://twitter.com/hemc4"
target="_blank"
rel="me"
>twitter</a>
<a
class="h-7 w-7 text-[0px] [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
style="--url: url(./github.svg)"
href="https://github.com/hemc4"
target="_blank"
rel="me"
>github</a>
<a
class="h-7 w-7 text-[0px] [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
style="--url: url(./linkedin.svg)"
href="https://linkedin.com/in/hemc4"
target="_blank"
rel="me"
>linkedin</a>
</nav>
</div>
</header>
<main
class="prose prose-neutral dark:prose-invert relative mx-auto min-h-[calc(100vh-9rem)] max-w-(--w) px-8 pt-14 pb-16"
>
<div class="-mt-2 mb-12 flex items-center"><div
class="h-24 w-24 shrink-0 rounded-full border-[0.5px] border-black/10 bg-white/50 p-3 ltr:mr-5 ltr:-ml-1 rtl:-mr-1 rtl:ml-5 dark:bg-white/90!"
>
<img
class="not-prose my-0 h-full w-full rounded-full bg-black/5! hover:animate-spin dark:bg-black/80!"
src="https://www.gravatar.com/avatar/bd6df7fa24163910d5803f3a6e63aa09?s=160&d=identicon"
alt="Hemendra"
/>
</div><div>
<div class="mt-3 mb-1 text-2xl font-medium text-black dark:text-white">Hemendra</div>
<div class="break-words">When I read what I write I learn what I think</div>
</div></div><section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><h2 class="my-0!">Why Code Ages — And Why It Needs a Workout</h2>
<time class="text-xs antialiased opacity-60"
>Dec 31, 2025</time
>
<a class="absolute inset-0 text-[0px]" href="https://www.hemc4.com/posts/why-code-ages/"
>Why Code Ages — And Why It Needs a Workout</a
>
</section>
<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><h2 class="my-0!">Hosting Hugo Blog on Github Pages</h2>
<time class="text-xs antialiased opacity-60"
>Aug 16, 2020</time
>
<a class="absolute inset-0 text-[0px]" href="https://www.hemc4.com/posts/hosting-hugo-blog-on-github-pages/"
>Hosting Hugo Blog on Github Pages</a
>
</section>
<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><h2 class="my-0!">Switching to Hugo Blog</h2>
<time class="text-xs antialiased opacity-60"
>Feb 11, 2017</time
>
<a class="absolute inset-0 text-[0px]" href="https://www.hemc4.com/posts/hugo-blog/"
>Switching to Hugo Blog</a
>
</section></main><footer
class="mx-auto flex h-[4.5rem] max-w-(--w) items-center px-8 text-xs tracking-wider uppercase opacity-60"
>
<div class="mr-auto">©2025
<a class="link" href="https://www.hemc4.com/">Hemendra</a></div>
<a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank"
>powered by hugo️️</a
>️
<a
class="link"
href="https://github.com/nanxiaobei/hugo-paper"
rel="noopener"
target="_blank"
>hugo-paper</a
>
</footer>
</body>
</html>