aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2026-01-21 11:31:33 +0100
committerKaran Jayachandra <karan.jayachandra@nxp.com>2026-01-21 11:31:33 +0100
commit28ca1aa004ee80b6325526db1479ba05acd22367 (patch)
treedefb671f69281328d7e5b07fb23c6417823d4bd1
parent3b8c5a556f59b7d078fd275cc7050358d2f71c58 (diff)
Cleaned up the files and added light and dark favicons
-rw-r--r--hugo.toml10
-rw-r--r--layouts/_default/baseof.html30
-rw-r--r--layouts/_default/home.html4
-rw-r--r--layouts/_default/taxonomy.html10
-rw-r--r--layouts/partials/header.html8
-rw-r--r--static/favicon-dark.png3
-rw-r--r--static/favicon-light.png3
-rw-r--r--static/favicon.icobin4286 -> 0 bytes
-rw-r--r--static/logo.ipe2
9 files changed, 36 insertions, 34 deletions
diff --git a/hugo.toml b/hugo.toml
index 0e63095..6b72b6b 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,10 +1,2 @@
-# Main Configuration
baseURL = 'https://karanj.com'
-languageCode = 'en-gb'
-title = "Karan Jayachandra"
-timeZone = 'Europe/Amsterdam'
-copyright = "Creative Commons Attribution-ShareAlike 4.0 International"
-summaryLength = 10
-
-# Theme Configuration
-enableEmoji = true
+title = "Karan Jayachandra" \ No newline at end of file
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 19128ec..d8c9aec 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,14 +1,26 @@
<!DOCTYPE html>
-<html lang="{{ or site.Language.LanguageCode site.Language.Lang }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width">
- <meta name="description" content="Karan Jayachandra is a signal processing engineer. He is working on algorithm development at NXP for automotive radar systems to make driving safer." />
- <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
- <link rel="stylesheet" href="/main.css">
-</head>
+<html lang="en-gb">
+ <head>
+ <meta charset="utf-8">
+ <meta name="description" content="Come collaborate to create the next generation of RF products. On this website you can find Karan's qualifications and projects." />
+ <meta name="keywords" content="Karan, Jayachandra, RF, Signal Processing, Engineer">
+ <meta name="author" content="Karan Jayachandra">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title> {{ site.Title }} </title>
+ <link rel="stylesheet" href="/main.css">
+ <link rel="icon" href="/favicon-light.png" type="image/x-icon">
+ <link rel="icon" href="/favicon-light.png" type="image/x-icon" media="(prefers-color-scheme: light)">
+ <link rel="icon" href="/favicon-dark.png" type="image/x-icon" media="(prefers-color-scheme: dark)">
+ </head>
<body>
- {{partial "header.html"}}
+ <nav>
+ <ul>
+ <a href="/"><li>Home</li></a>
+ <a href="https://gitlab.com/KaranJayachandra"><li>Gitlab</li></a>
+ <a href="https://karanjayachandra.gitlab.io/cv"><li>CV</li></a>
+ <a href="https://www.linkedin.com/in/karanjayachandra"><li>LinkedIn</li></a>
+ </ul>
+ </nav>
<main>
{{ block "main" . }}{{ end }}
</main>
diff --git a/layouts/_default/home.html b/layouts/_default/home.html
index e0e8308..f752ee3 100644
--- a/layouts/_default/home.html
+++ b/layouts/_default/home.html
@@ -1,3 +1,3 @@
{{ define "main" }}
- {{ .Content }}
-{{ end }}
+{{ .Content }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index c2e7875..df5e3e8 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -1,7 +1,7 @@
{{ define "main" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- {{ range .Pages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ end }}
+<h1>{{ .Title }}</h1>
+{{ .Content }}
+{{ range .Pages }}
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
deleted file mode 100644
index 33224b9..0000000
--- a/layouts/partials/header.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<nav>
- <ul>
- <a href="/"><li>Home</li></a>
- <a href="https://gitlab.com/KaranJayachandra"><li>Gitlab</li></a>
- <a href="https://karanjayachandra.gitlab.io/cv"><li>CV</li></a>
- <a href="https://www.linkedin.com/in/karanjayachandra"><li>LinkedIn</li></a>
- </ul>
-</nav> \ No newline at end of file
diff --git a/static/favicon-dark.png b/static/favicon-dark.png
new file mode 100644
index 0000000..61bc85c
--- /dev/null
+++ b/static/favicon-dark.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c9e67f383c061306ff2e5a65356193b0733b76a940826e0347d8a622138cb5e6
+size 549
diff --git a/static/favicon-light.png b/static/favicon-light.png
new file mode 100644
index 0000000..3af19df
--- /dev/null
+++ b/static/favicon-light.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b4a57f92ec12180e24bdf7591939f3f980253f8c856fce820249632fb0e18c06
+size 488
diff --git a/static/favicon.ico b/static/favicon.ico
deleted file mode 100644
index cacdcf0..0000000
--- a/static/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/static/logo.ipe b/static/logo.ipe
index cdb4c47..34df338 100644
--- a/static/logo.ipe
+++ b/static/logo.ipe
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE ipe SYSTEM "ipe.dtd">
<ipe version="70218" creator="Ipe 7.2.29">
-<info created="D:20251111105725" modified="D:20251111105725"/>
+<info created="D:20251111105725" modified="D:20260121112703"/>
<ipestyle name="basic">
<symbol name="arrow/arc(spx)">
<path stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">