Skip to content

Commit 624233d

Browse files
committed
update theme
1 parent 32891b3 commit 624233d

18 files changed

+145
-89
lines changed

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "themes/hugo-bearblog"]
2-
path = themes/hugo-bearblog
3-
url = https://github.com/janraasch/hugo-bearblog.git
1+
[submodule "themes/hello-friend-ng"]
2+
path = themes/hello-friend-ng
3+
url = https://github.com/Hasaber8/modified-hello-friend-ng.git

.hugo_build.lock

Whitespace-only changes.

config.toml

Lines changed: 44 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
languageCode = "en-us"
22
title = "Rohan Hasabe"
3-
theme = "hugo-bearblog"
3+
theme = "hello-friend-ng"
4+
baseurl = "https://rohanhasabe.com"
45

56
PygmentsCodeFences = true
67
PygmentsStyle = "monokai"
78

8-
rssLimit = 10 # Maximum number of items in the RSS feed.
9+
rssLimit = 10 # Maximum number of items in the RSS feed.
910

1011
[markup]
1112
[markup.goldmark]
@@ -15,8 +16,6 @@ rssLimit = 10 # Maximum number of items in the RSS feed.
1516
[pagination]
1617
pagerSize = 10
1718

18-
# disqusShortname = ""
19-
2019
archetypeDir = "archetypes"
2120
contentDir = "content"
2221
dataDir = "data"
@@ -48,33 +47,53 @@ ignoreErrors = ["error-disable-taxonomy"]
4847
name = "Rohan Hasabe"
4948

5049
[params]
51-
# Date format for blog posts
52-
dateFormat = "Jan 2, 2006"
53-
# Metadata mostly used in document's head
54-
#
50+
author = "Rohan Hasabe"
51+
homeSubtitle = "CS @ Northeastern University, Boston"
52+
dateform = "Jan 2, 2006"
53+
dateformShort = "Jan 2"
54+
dateformNum = "2006-01-02"
55+
dateformNumTime = "2006-01-02 15:04 -0700"
5556
description = "Rohan Hasabe's personal website"
5657
keywords = "portfolio, blog, programming"
58+
contentTypeName = "blog"
59+
defaultTheme = "dark"
60+
copyright = "Rohan Hasabe"
61+
62+
customCSS = ["/custom.css"]
5763

58-
# Social icons
59-
[[params.social]]
60-
name = "GitHub"
61-
icon = "lab la-github-square la-2x"
62-
url = "https://github.com/Hasaber8"
63-
[[params.social]]
64-
name = "Linkedin"
65-
icon = "lab la-linkedin-in la-2x"
66-
url = "https://www.linkedin.com/in/hasaber8"
67-
[[params.social]]
68-
name = "Twitter"
69-
icon = "lab la-twitter la-2x"
70-
url = "https://twitter.com/hasaber8"
64+
[params.logo]
65+
logoText = "$ rohanhasabe"
66+
logoHomeLink = "/"
7167

7268
[languages]
7369
[languages.en]
7470
subtitle = ""
7571
weight = 1
72+
copyright = 'Rohan Hasabe'
73+
74+
[menu]
75+
[[menu.main]]
76+
name = "About"
77+
weight = 1
78+
url = "/about"
79+
[[menu.main]]
80+
name = "Blog"
81+
weight = 2
82+
url = "/blog"
83+
[[menu.main]]
84+
name = "Resume"
85+
weight = 3
86+
url = "/resume"
7687

77-
[[menu.main]]
78-
name = "Resume"
79-
url = "/resume/"
80-
weight = 1
88+
[[params.social]]
89+
name = "GitHub"
90+
icon = "fa fa-github fa-2x"
91+
url = "https://github.com/Hasaber8"
92+
[[params.social]]
93+
name = "Linkedin"
94+
icon = "fa fa-linkedin fa-2x"
95+
url = "https://www.linkedin.com/in/hasaber8"
96+
[[params.social]]
97+
name = "Twitter"
98+
icon = "fa fa-twitter fa-2x"
99+
url = "https://twitter.com/hasaber8"

content/about.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ title = "$whoami"
33
id = "about"
44
+++
55

6-
Hey! I'm Rohan Hasabe, a 22-year-old student currently pursuing my master's degree in CS @ NEU, Boston. I previously worked at Esper as an SDE II.
6+
Hey! I'm Rohan Hasabe, a 24-year-old student currently pursuing my master's degree in CS @ Northeastern University, Boston. I previously worked at Esper as an SDE II.
77

88
If you find someone with the username `Hasaber8` on any platform, you can be mostly sure it's me.
9+
10+
✨ P.S.
11+
I’m graduating in May 2026 and am open to roles in general software engineering, backend, and AI tooling!

content/blog/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
+++
2-
title = "blog"
3-
+++
1+
---
2+
title: "Blog"
3+
---

content/contact.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

layouts/partials/custom_head.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

layouts/partials/footer.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

layouts/partials/head.html

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<meta charset="UTF-8">
2+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
3+
{{ if .Params.noindex }}
4+
<meta name="robots" content="noindex" />
5+
{{ end }}
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ .Site.Params.author }}{{ end }}">
8+
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ if .Params.Description }}{{ .Params.Description }}{{ else }}{{ .Summary | plainify }}{{ end }}{{ end }}" />
9+
<meta name="keywords" content="{{ .Site.Params.keywords }}{{ if .Params.tags }}{{ range .Params.tags }}, {{ . }}{{ end }}{{ end }}" />
10+
<meta name="robots" content="noodp" />
11+
<meta name="theme-color" content="{{ .Site.Params.themeColor }}" />
12+
<link rel="canonical" href="{{ .Permalink }}" />
13+
14+
{{ block "title" . }}
15+
<title>
16+
{{ if .IsHome }}
17+
{{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }}
18+
{{ else }}
19+
{{ .Title }} :: {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}
20+
{{ end }}
21+
</title>
22+
{{ end }}
23+
24+
<!-- CSS -->
25+
<link rel="stylesheet" href="https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css" crossorigin="anonymous" />
26+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.7/css/fork-awesome.min.css" crossorigin="anonymous" />
27+
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
28+
{{ $style := resources.Get "scss/main.scss" | css.Sass $options | resources.Fingerprint }}
29+
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
30+
31+
{{ range $val := $.Site.Params.customCSS }}
32+
{{ if gt (len $val) 0 }}
33+
<link rel="stylesheet" type="text/css" href="{{ $val }}">
34+
{{ end }}
35+
{{ end }}
36+
37+
<!-- Icons -->
38+
{{- partial "favicons.html" . }}
39+
40+
{{ template "_internal/schema.html" . }}
41+
{{ template "_internal/twitter_cards.html" . }}
42+
43+
{{ if isset .Site.Taxonomies "series" }}
44+
{{ template "_internal/opengraph.html" . }}
45+
{{ end }}
46+
47+
{{ range .Params.categories }}
48+
<meta property="article:section" content="{{ . }}" />
49+
{{ end }}
50+
51+
{{ if isset .Params "date" }}
52+
<meta property="article:published_time" content="{{ time .Date }}" />
53+
{{ end }}
54+
55+
<!-- RSS -->
56+
{{ with .OutputFormats.Get "rss" -}}
57+
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
58+
{{ end -}}
59+
60+
<!-- JSON Feed -->
61+
{{ if .OutputFormats.Get "json" }}
62+
<link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate"
63+
type="application/json" title="{{ .Site.Title }}" />
64+
{{ end }}
65+
66+
<!-- Custom head tags -->
67+
{{- if templates.Exists "partials/extra-head.html" -}}
68+
{{ partial "extra-head.html" . }}
69+
{{- end }}
70+
71+
<!-- Google Analytics internal template -->
72+
{{- if .Site.Params.googleAnalytics }}
73+
{{ template "_internal/google_analytics.html" . }}
74+
{{- end }}
75+
76+
<!-- Plausible.io -->
77+
{{- if $.Site.Params.plausibleDataDomain }}
78+
<script defer data-domain="{{ .Site.Params.plausibleDataDomain }}" src="{{ .Site.Params.plausibleScriptSource }}"></script>
79+
{{- end}}

0 commit comments

Comments
 (0)