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
3 changes: 2 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ADMIN_PASSWORD=""
IRON_SESSION_COOKIE_PASSWORD=""
SANITY_ACCESS_TOKEN=""
SANITY_ACCESS_TOKEN=""
NEXT_PUBLIC_SITE_URL="https://v1.kunalkeshan.dev"
5 changes: 3 additions & 2 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { GA_TRACKING_ID } from "../utils/gtag";
const metaDescription =
"Full-stack dev with a passion for delivering value & helping others thrive. As a 3rd-year Electronics & Communication Engineering student at SRMIST, I offer top-notch full-stack web dev services with a focus on consistency, discipline, grit & hard work. Codelance Devs, my web design co., helps SMEs establish a web presence. I aim to be a knowledgeable software dev & assist startups & enterprises. Passionate about tech education, open-source, productivity & building openly. Improving my skills & sharing my expertise in full-stack dev.";
const metaImage = "/thumbnail.png";
const metaWebsite = `https://kunalkeshan.dev`;
const metaWebsite =
process.env.NEXT_PUBLIC_SITE_URL ?? "https://v1.kunalkeshan.dev";

export default function Document() {
return (
Expand Down Expand Up @@ -48,7 +49,7 @@ export default function Document() {
<meta property="twitter:title" content="Kunal Keshan" />
<meta property="twitter:description" content={metaDescription} />
<meta property="twitter:image" content={metaImage} />
<meta name="robots" content="all" />
<meta name="robots" content="noindex, nofollow" />
<Script
async
strategy="afterInteractive"
Expand Down
3 changes: 2 additions & 1 deletion pages/sitemap.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import type { GetServerSideProps } from "next";
import PROJECTS from "../data/projects";
import TRIBUTES from "../data/tributes";

const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://kunalkeshan.dev";
const SITE_URL =
process.env.NEXT_PUBLIC_SITE_URL ?? "https://v1.kunalkeshan.dev";

type SitemapUrl = {
loc: string;
Expand Down
7 changes: 2 additions & 5 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
User-agent: *
Disallow: /admin/
Disallow: /

User-agent: *
Allow: /

Sitemap: https://kunalkeshan.dev/sitemap.xml
Sitemap: https://v1.kunalkeshan.dev/sitemap.xml
Loading