diff options
| author | Karan Jayachandra <me@karanj.com> | 2026-01-21 11:32:19 +0100 |
|---|---|---|
| committer | Karan Jayachandra <me@karanj.com> | 2026-01-21 11:32:19 +0100 |
| commit | cc21a3df9f1e199db9c01f21ff5820c3f899a4e0 (patch) | |
| tree | defb671f69281328d7e5b07fb23c6417823d4bd1 /layouts/_default | |
| parent | 1bef928c8f059f37f6ed955d65044ec1439ff53c (diff) | |
| parent | 28ca1aa004ee80b6325526db1479ba05acd22367 (diff) | |
Merge branch 'develop' into 'main'
Cleaned up the files and added light and dark favicons
See merge request KaranJayachandra/karanjayachandra.gitlab.io!6
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/baseof.html | 30 | ||||
| -rw-r--r-- | layouts/_default/home.html | 4 | ||||
| -rw-r--r-- | layouts/_default/taxonomy.html | 10 |
3 files changed, 28 insertions, 16 deletions
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 |
