Skip to content

Commit 3bde7e7

Browse files
Hasaber8claude
andauthored
Adjust folder setup for hugo-bearblog theme (#2)
* Adjust folder setup for hugo-bearblog theme - Rename content/posts to content/blog to match theme structure - Add _index.md for homepage and blog listing - Update config.toml permalinks from /posts/:year/:month/:title/ to /:slug/ - Simplify config.toml removing old theme-specific settings - Update menu to point to blog instead of posts - Disable taxonomies as per bearblog conventions * Add CS @ Northeastern subtitle to homepage --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5450564 commit 3bde7e7

7 files changed

Lines changed: 26 additions & 103 deletions

File tree

β€Žconfig.tomlβ€Ž

Lines changed: 10 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -32,116 +32,23 @@ disableSitemap = false
3232
disable404 = false
3333
disableHugoGeneratorInject = false
3434

35+
# Generate "Bearblog"-like URLs !only!, see https://bearblog.dev/.
36+
disableKinds = ["taxonomy"]
37+
ignoreErrors = ["error-disable-taxonomy"]
3538
[permalinks]
36-
posts = "/posts/:year/:month/:title/"
39+
blog = "/:slug/"
40+
tags = "/blog/:slug"
3741

3842
[author]
3943
name = "Rohan Hasabe"
4044

41-
[blackfriday]
42-
hrefTargetBlank = true
43-
44-
[taxonomies]
45-
tag = "tags"
46-
category = "categories"
47-
series = "series"
48-
4945
[params]
50-
dateform = "Jan 2, 2006"
51-
dateformShort = "Jan 2"
52-
dateformNum = "2006-01-02"
53-
dateformNumTime = "2006-01-02 15:04"
54-
utterancesRepo = "Hasaber8/Hasaber8.github.io"
55-
utterancesTheme = "github-dark"
46+
# Date format for blog posts
47+
dateFormat = "Jan 2, 2006"
5648
# Metadata mostly used in document's head
5749
#
5850
description = "Rohan Hasabe's personal website"
5951
keywords = "portfolio, blog, programming"
60-
images = [""]
61-
62-
# Home subtitle of the index page.
63-
#
64-
homeSubtitle = "CS @ Northeastern University, Boston"
65-
66-
# Set a background for the homepage
67-
# backgroundImage = "assets/images/background.jpg"
68-
69-
# Prefix of link to the git commit detail page. GitInfo must be enabled.
70-
#
71-
# gitUrl = ""
72-
73-
# Set disableReadOtherPosts to true in order to hide the links to other posts.
74-
#
75-
disableReadOtherPosts = false
76-
77-
# Enable theme toggle
78-
#
79-
# This options enables the theme toggle for the theme.
80-
# Per default, this option is off.
81-
# The theme is respecting the prefers-color-scheme of the operating systeme.
82-
# With this option on, the page user is able to set the scheme he wants.
83-
enableThemeToggle = false
84-
85-
# Sharing buttons
86-
#
87-
# There are a lot of buttons preconfigured. If you want to change them,
88-
# generate the buttons here: https://sharingbuttons.io
89-
# and add them into your own `layouts/partials/sharing-buttons.html`
90-
#
91-
enableSharingButtons = true
92-
93-
# Integrate Javascript files or stylesheets by adding the url to the external assets or by
94-
# linking local files with their path relative to the static folder, e.g. "css/styles.css"
95-
#
96-
customCSS = []
97-
customJS = []
98-
99-
# Toggle this option need to rebuild SCSS, requires extended version of Hugo
100-
#
101-
justifyContent = true # Set "text-align: justify" to .post-content.
102-
103-
# Custom footer
104-
# If you want, you can easily override the default footer with your own content.
105-
#
106-
[params.footer]
107-
trademark = 2024
108-
rss = true
109-
copyright = true
110-
author = true
111-
112-
topText = []
113-
bottomText = [
114-
"Powered by <a href=\"http://gohugo.io\">Hugo</a>"
115-
]
116-
117-
[params.logo]
118-
logoMark = ">"
119-
logoText = "$ Hasaber8"
120-
logoHomeLink = "/"
121-
# Set true to remove the logo cursor entirely.
122-
# logoCursorDisabled = false
123-
# Set to a valid CSS color to change the cursor in the logo.
124-
# logoCursorColor = "#67a2c9"
125-
# Set to a valid CSS time value to change the animation duration, "0s" to disable.
126-
# logoCursorAnimate = "2s"
127-
128-
# Commento is more than just a comments widget you can embed β€”
129-
# it’s a return to the roots of the internet.
130-
# An internet without the tracking and invasions of privacy.
131-
# An internet that is simple and lightweight.
132-
# An internet that is focused on interesting discussions, not ads.
133-
# A better internet.
134-
# Uncomment this to enable Commento.
135-
#
136-
# [params.commento]
137-
# url = ""
138-
139-
# Uncomment this if you want a portrait on your start page
140-
#
141-
# [params.portrait]
142-
# path = "/img/image.jpg"
143-
# alt = "Portrait"
144-
# maxWidth = "50px"
14552

14653
# Social icons
14754
[[params.social]]
@@ -171,9 +78,9 @@ disableHugoGeneratorInject = false
17178
name = "about me"
17279
url = "about/"
17380
[[menu.main]]
174-
identifier = "posts"
175-
name = "posts"
176-
url = "posts/"
81+
identifier = "blog"
82+
name = "blog"
83+
url = "blog/"
17784
[[menu.main]]
17885
identifier = "contact"
17986
name = "contact"

β€Žcontent/_index.mdβ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
+++
2+
title = "Rohan Hasabe"
3+
+++
4+
5+
# Hey there! πŸ‘‹
6+
7+
**CS @ Northeastern University, Boston**
8+
9+
I'm Rohan Hasabe, a 22-year-old student currently pursuing my master's degree in Computer Science @ Northeastern University, Boston. I previously worked at Esper as an SDE II.
10+
11+
This is my personal space on the web where I share my thoughts, projects, and learnings.
12+
13+
If you find someone with the username `Hasaber8` on any platform, you can be mostly sure it's me.

β€Žcontent/blog/_index.mdβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+++
2+
title = "Blog"
3+
+++
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)