diff options
| author | Karan Jayachandra <me@karanj.com> | 2025-09-24 14:36:55 +0200 |
|---|---|---|
| committer | Karan Jayachandra <me@karanj.com> | 2025-09-24 14:36:55 +0200 |
| commit | ed5a5cb55ffd0dcae696355b4123947e3630ce1f (patch) | |
| tree | 1e4846fa87e0c0292a8109287f65bfc17c0c0c9c | |
| parent | d2872828776c6ad32c8f959fea963b36f2732987 (diff) | |
Added the changes to use my own theme
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | content/_index.md | 2 | ||||
| -rw-r--r-- | hugo.toml | 5 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 19 | ||||
| -rw-r--r-- | layouts/_default/home.html | 3 | ||||
| -rw-r--r-- | layouts/partials/custom_head.html | 6 | ||||
| m--------- | themes/hugo-bearblog | 0 |
7 files changed, 25 insertions, 13 deletions
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. @@ -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 @@ +<!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"> + <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karanj/monochromecss/main.min.css"> +</head> + <body> + <nav><ul> + {{ range .Site.Menus.main }} + <li><a href="{{ .URL }}">{{ .Name }}</a></li> + {{ end }} + </ul></nav> + <main> + {{ block "main" . }}{{ end }} + </main> + </body> +</html> 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 @@ -<style> - img { - width: 100%; - height: auto; - } -</style>
\ No newline at end of file diff --git a/themes/hugo-bearblog b/themes/hugo-bearblog deleted file mode 160000 -Subproject c541ece2bd1f5ce0786f6bb01ee99be6e25f23b |
