From ed5a5cb55ffd0dcae696355b4123947e3630ce1f Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 24 Sep 2025 14:36:55 +0200 Subject: Added the changes to use my own theme --- .gitmodules | 3 --- content/_index.md | 2 +- hugo.toml | 5 ++--- layouts/_default/baseof.html | 19 +++++++++++++++++++ layouts/_default/home.html | 3 +++ layouts/partials/custom_head.html | 6 ------ themes/hugo-bearblog | 1 - 7 files changed, 25 insertions(+), 14 deletions(-) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/home.html delete mode 100644 layouts/partials/custom_head.html delete mode 160000 themes/hugo-bearblog diff --git a/.gitmodules b/.gitmodules index c53b474..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "themes/hugo-bearblog"] - path = themes/hugo-bearblog - url = https://github.com/janraasch/hugo-bearblog.git diff --git a/content/_index.md b/content/_index.md index 9521929..ebf5d4f 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,4 +1,4 @@ -# Welcome +# Karan Jayachandra This is my home page on the world wide web. You can find information about my work, personal interests and contact information here. diff --git a/hugo.toml b/hugo.toml index a2acf16..b1f04c2 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,12 +1,11 @@ # Main Configuration -baseURL = 'https://karanjayachandra.com' +baseURL = 'https://karanj.com' languageCode = 'en-gb' title = "Karan Jayachandra" timeZone = 'Europe/Amsterdam' copyright = "Creative Commons Attribution-ShareAlike 4.0 International" # Theme Configuration -theme = 'hugo-bearblog' enableEmoji = true # Enable SEO service @@ -18,7 +17,7 @@ enableRobotsTXT = true url = 'https://karanjayachandra.gitlab.io/cv' [[menu.main]] name = 'Email' - url = 'mailto:mail@karanjayachandra.com' + url = 'mailto:me@karanj.com' [[menu.main]] name = 'Gitlab' url = 'https://gitlab.com/KaranJayachandra' diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..93eb168 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,19 @@ + + + + + + {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} + + + + +
+ {{ block "main" . }}{{ end }} +
+ + diff --git a/layouts/_default/home.html b/layouts/_default/home.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/_default/home.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html deleted file mode 100644 index f05a466..0000000 --- a/layouts/partials/custom_head.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-bearblog b/themes/hugo-bearblog deleted file mode 160000 index c541ece..0000000 --- a/themes/hugo-bearblog +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c541ece2bd1f5ce0786f6bb01ee99be6e25f23b5 -- cgit v1.3.1