Skip to content

Commit

Permalink
Added blog
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilCad committed Apr 14, 2024
1 parent 4e84aa2 commit 7594324
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 15 deletions.
16 changes: 13 additions & 3 deletions content/blog/hugo-site.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: 'Experiences with Hugo'
title: 'Moving over to Hugo'
date: 2024-04-14T18:52:03+05:30
slug:
tags: ["Hugo", "Github"]
category: blog
summary:
description:
cover:
image:
image: "/images/blog/hugo-logo.png"
alt:
caption:
relative: true
Expand All @@ -16,4 +16,14 @@ draft: false
hideAuthor: true
---

Remade a basic skeleton of my portfolio using Hugo
A previous version of my portfolio was created using good old HTML and CSS, however editing that was turning out to be a chore. A wise man once said, **do not** reinvent the wheel, so I looked into the world of static site generators.

Stumbling upon Hugo, I saw that it already had a plethora of good themes. A quick scroll through the page and I finnaly settled on the amazing papermod theme at https://github.com/adityatelange/hugo-PaperMod

After some struggles figuring how hugo works, I have finally found a sweet spot where I can easily edit this portfolio without dealing with all the headaches of maintaining the CSS and styles and everything by myself.

I did have to make some tweaks to the papermod theme to accommodate the experience section.

Because of Hugo, I decided to add a blog section. Not sure what exactly should I put here, but I guess putting some neat tricks or projects I find for future me to see and remember is a good enough use.

**Do not reinvent the wheel**
2 changes: 1 addition & 1 deletion content/experience/thoughtspot-intern.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Engineering Intern"
description: "Thoughtspot India | Hyderabad, India"
description: "Thoughtspot | Hyderabad, India"
dateString: Jun-July 2023, Jan 2024 - Present
draft: false
tags: ["React", "Typescript", "GraphQL", "Playwright", "Jest"]
Expand Down
7 changes: 5 additions & 2 deletions public/blog/hugo-site/index.html

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion public/blog/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html><html lang=en dir=auto><head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><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"><meta name=robots content="index, follow"><title>Blogs | Nikhil Kadiyan</title>
<meta name=keywords content><meta name=description content="Blogs - Nikhil Kadiyan"><meta name=author content="Me"><link rel=canonical href=http://localhost:1313/blog/><link crossorigin=anonymous href=/assets/css/stylesheet.8963377b835006b77a2d288c38511b7829d4a32baf7fd11633416482aebccc37.css integrity="sha256-iWM3e4NQBrd6LSiMOFEbeCnUoyuvf9EWM0Fkgq68zDc=" rel="preload stylesheet" as=style><link rel=icon href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=16x16 href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=32x32 href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=apple-touch-icon href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=mask-icon href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><meta name=theme-color content="#2e2e33"><meta name=msapplication-TileColor content="#2e2e33"><link rel=alternate type=application/rss+xml href=http://localhost:1313/blog/index.xml><link rel=alternate hreflang=en href=http://localhost:1313/blog/><noscript><style>#theme-toggle,.top-link{display:none}</style><style>@media(prefers-color-scheme:dark){:root{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--code-block-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--theme)}.list:not(.dark)::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--theme)}}</style></noscript><meta property="og:title" content="Blogs"><meta property="og:description" content="ExampleSite description"><meta property="og:type" content="website"><meta property="og:url" content="http://localhost:1313/blog/"><meta property="og:image" content="http://localhost:1313/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E"><meta property="og:site_name" content="ExampleSite"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="http://localhost:1313/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E"><meta name=twitter:title content="Blogs"><meta name=twitter:description content="ExampleSite description"><script type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Blogs","item":"http://localhost:1313/blog/"}]}</script></head><body class=list id=top><script>localStorage.getItem("pref-theme")==="dark"?document.body.classList.add("dark"):localStorage.getItem("pref-theme")==="light"?document.body.classList.remove("dark"):window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add("dark")</script><header class=header><nav class=nav><div class=logo><a href=http://localhost:1313/ accesskey=h title="Home (Alt + H)"><img src=http://localhost:1313/apple-touch-icon.png alt aria-label=logo height=35>Home</a><div class=logo-switches><button id=theme-toggle accesskey=t title="(Alt + T)"><svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></button></div></div><ul id=menu><li><a href=http://localhost:1313/ title=Home><span>Home</span></a></li><li><a href=http://localhost:1313/experience/ title=Experience><span>Experience</span></a></li><li><a href=http://localhost:1313/projects/ title=Projects><span>Projects</span></a></li><li><a href=http://localhost:1313/blog/ title=Blog><span class=active>Blog</span></a></li><li><a href=http://localhost:1313/tags/ title=Tags><span>Tags</span></a></li><li><a href=http://localhost:1313/resumelatex/nikhil_kadiyan_resume.pdf/ title=Resume><span>Resume</span></a></li></ul></nav></header><main class=main><header class=page-header><div class=breadcrumbs><a href=http://localhost:1313/>Home</a></div><h1>Blogs
<a href=/blog/index.xml title=RSS aria-label=RSS><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" height="23"><path d="M4 11a9 9 0 019 9"/><path d="M4 4a16 16 0 0116 16"/><circle cx="5" cy="19" r="1"/></svg></a></h1></header><article class=post-entry><header class=entry-header><h2 class=entry-hint-parent>Experiences with Hugo</h2></header><div class=entry-content><p>Remade a basic skeleton of my portfolio using Hugo</p></div><footer class=entry-footer><span title='2024-04-14 18:52:03 +0530 IST'>April 14, 2024</span></footer><a class=entry-link aria-label="post link to Experiences with Hugo" href=http://localhost:1313/blog/hugo-site/></a></article></main><footer class=footer><span>&copy; 2024 <a href=http://localhost:1313/>Nikhil Kadiyan</a></span>
<a href=/blog/index.xml title=RSS aria-label=RSS><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" height="23"><path d="M4 11a9 9 0 019 9"/><path d="M4 4a16 16 0 0116 16"/><circle cx="5" cy="19" r="1"/></svg></a></h1></header><article class=post-entry><figure class=entry-cover><img loading=lazy src=http://localhost:1313/images/blog/hugo-logo.png alt></figure><header class=entry-header><h2 class=entry-hint-parent>Moving over to Hugo</h2></header><div class=entry-content><p>A previous version of my portfolio was created using good old HTML and CSS, however editing that was turning out to be a chore. A wise man once said, do not reinvent the wheel, so I looked into the world of static site generators.
Stumbling upon Hugo, I saw that it already had a plethora of good themes. A quick scroll through the page and I finnaly settled on the amazing papermod theme at https://github....</p></div><footer class=entry-footer><span title='2024-04-14 18:52:03 +0530 IST'>April 14, 2024</span></footer><a class=entry-link aria-label="post link to Moving over to Hugo" href=http://localhost:1313/blog/hugo-site/></a></article></main><footer class=footer><span>&copy; 2024 <a href=http://localhost:1313/>Nikhil Kadiyan</a></span>
<span>Powered by
<a href=https://gohugo.io/ rel="noopener noreferrer" target=_blank>Hugo</a> &
<a href=https://github.com/adityatelange/hugo-PaperMod/ rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top aria-label="go to top" title="Go to Top (Alt + G)" class=top-link id=top-link accesskey=g><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentcolor"><path d="M12 6H0l6-6z"/></svg>
Expand Down
5 changes: 3 additions & 2 deletions public/blog/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
<lastBuildDate>Sun, 14 Apr 2024 18:52:03 +0530</lastBuildDate>
<atom:link href="http://localhost:1313/blog/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Experiences with Hugo</title>
<title>Moving over to Hugo</title>
<link>http://localhost:1313/blog/hugo-site/</link>
<pubDate>Sun, 14 Apr 2024 18:52:03 +0530</pubDate>
<guid>http://localhost:1313/blog/hugo-site/</guid>
<description>Remade a basic skeleton of my portfolio using Hugo</description>
<description>A previous version of my portfolio was created using good old HTML and CSS, however editing that was turning out to be a chore. A wise man once said, do not reinvent the wheel, so I looked into the world of static site generators.
Stumbling upon Hugo, I saw that it already had a plethora of good themes. A quick scroll through the page and I finnaly settled on the amazing papermod theme at https://github.</description>
</item>
</channel>
</rss>
2 changes: 1 addition & 1 deletion public/experience/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!doctype html><html lang=en dir=auto><head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><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"><meta name=robots content="index, follow"><title>Experiences | Nikhil Kadiyan</title>
<meta name=keywords content><meta name=description content="Experiences - Nikhil Kadiyan"><meta name=author content="Me"><link rel=canonical href=http://localhost:1313/experience/><link crossorigin=anonymous href=/assets/css/stylesheet.8963377b835006b77a2d288c38511b7829d4a32baf7fd11633416482aebccc37.css integrity="sha256-iWM3e4NQBrd6LSiMOFEbeCnUoyuvf9EWM0Fkgq68zDc=" rel="preload stylesheet" as=style><link rel=icon href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=16x16 href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=32x32 href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=apple-touch-icon href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><link rel=mask-icon href=http://localhost:1313/%3Clink%20/%20abs%20url%3E><meta name=theme-color content="#2e2e33"><meta name=msapplication-TileColor content="#2e2e33"><link rel=alternate type=application/rss+xml href=http://localhost:1313/experience/index.xml><link rel=alternate hreflang=en href=http://localhost:1313/experience/><noscript><style>#theme-toggle,.top-link{display:none}</style><style>@media(prefers-color-scheme:dark){:root{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--code-block-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--theme)}.list:not(.dark)::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--theme)}}</style></noscript><meta property="og:title" content="Experiences"><meta property="og:description" content="ExampleSite description"><meta property="og:type" content="website"><meta property="og:url" content="http://localhost:1313/experience/"><meta property="og:image" content="http://localhost:1313/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E"><meta property="og:site_name" content="ExampleSite"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="http://localhost:1313/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E"><meta name=twitter:title content="Experiences"><meta name=twitter:description content="ExampleSite description"><script type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Experiences","item":"http://localhost:1313/experience/"}]}</script></head><body class=list id=top><script>localStorage.getItem("pref-theme")==="dark"?document.body.classList.add("dark"):localStorage.getItem("pref-theme")==="light"?document.body.classList.remove("dark"):window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add("dark")</script><header class=header><nav class=nav><div class=logo><a href=http://localhost:1313/ accesskey=h title="Home (Alt + H)"><img src=http://localhost:1313/apple-touch-icon.png alt aria-label=logo height=35>Home</a><div class=logo-switches><button id=theme-toggle accesskey=t title="(Alt + T)"><svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></button></div></div><ul id=menu><li><a href=http://localhost:1313/ title=Home><span>Home</span></a></li><li><a href=http://localhost:1313/experience/ title=Experience><span class=active>Experience</span></a></li><li><a href=http://localhost:1313/projects/ title=Projects><span>Projects</span></a></li><li><a href=http://localhost:1313/blog/ title=Blog><span>Blog</span></a></li><li><a href=http://localhost:1313/tags/ title=Tags><span>Tags</span></a></li><li><a href=http://localhost:1313/resumelatex/nikhil_kadiyan_resume.pdf/ title=Resume><span>Resume</span></a></li></ul></nav></header><main class=main><header class=page-header><div class=breadcrumbs><a href=http://localhost:1313/>Home</a></div><h1>Experiences
<a href=/experience/index.xml title=RSS aria-label=RSS><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" height="23"><path d="M4 11a9 9 0 019 9"/><path d="M4 4a16 16 0 0116 16"/><circle cx="5" cy="19" r="1"/></svg></a></h1></header><article class=post-entry><header class=entry-header><h2 class=entry-hint-parent>Engineering Intern</h2></header><div class=entry-content><p>Thoughtspot India | Hyderabad, India</p></div><footer class=entry-footer>Jun-July 2023, Jan 2024 - Present</footer><a class=entry-link aria-label="post link to Engineering Intern" href=http://localhost:1313/experience/thoughtspot-intern/></a></article></main><footer class=footer><span>&copy; 2024 <a href=http://localhost:1313/>Nikhil Kadiyan</a></span>
<a href=/experience/index.xml title=RSS aria-label=RSS><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" height="23"><path d="M4 11a9 9 0 019 9"/><path d="M4 4a16 16 0 0116 16"/><circle cx="5" cy="19" r="1"/></svg></a></h1></header><article class=post-entry><header class=entry-header><h2 class=entry-hint-parent>Engineering Intern</h2></header><div class=entry-content><p>Thoughtspot | Hyderabad, India</p></div><footer class=entry-footer>Jun-July 2023, Jan 2024 - Present</footer><a class=entry-link aria-label="post link to Engineering Intern" href=http://localhost:1313/experience/thoughtspot-intern/></a></article></main><footer class=footer><span>&copy; 2024 <a href=http://localhost:1313/>Nikhil Kadiyan</a></span>
<span>Powered by
<a href=https://gohugo.io/ rel="noopener noreferrer" target=_blank>Hugo</a> &
<a href=https://github.com/adityatelange/hugo-PaperMod/ rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top aria-label="go to top" title="Go to Top (Alt + G)" class=top-link id=top-link accesskey=g><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentcolor"><path d="M12 6H0l6-6z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion public/experience/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<link>http://localhost:1313/experience/thoughtspot-intern/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/experience/thoughtspot-intern/</guid>
<description>Thoughtspot India | Hyderabad, India</description>
<description>Thoughtspot | Hyderabad, India</description>
</item>
</channel>
</rss>
Loading

0 comments on commit 7594324

Please sign in to comment.