Skip to content

Commit 28deba3

Browse files
committed
theme
1 parent 6130b9b commit 28deba3

38 files changed

Lines changed: 7424 additions & 0 deletions

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "themes/blowfish"]
2+
path = themes/blowfish
3+
url = https://github.com/nunocoracao/blowfish.git
4+
branch = main

.hugo_build.lock

Whitespace-only changes.

archetypes/default.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '{{ .Date }}'
3+
draft = true
4+
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
5+
+++

config/_default/hugo.toml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# -- Site Configuration --
2+
# Refer to the theme docs for more details about each of these parameters.
3+
# https://blowfish.page/docs/getting-started/
4+
5+
theme = "blowfish" # UNCOMMENT THIS LINE
6+
# baseURL = "https://your_domain.com/"
7+
defaultContentLanguage = "en"
8+
9+
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
10+
11+
enableRobotsTXT = true
12+
summaryLength = 0
13+
14+
buildDrafts = false
15+
buildFuture = false
16+
17+
enableEmoji = true
18+
19+
# googleAnalytics = "G-XXXXXXXXX"
20+
21+
[pagination]
22+
pagerSize = 100
23+
24+
[imaging]
25+
anchor = 'Center'
26+
27+
[taxonomies]
28+
tag = "tags"
29+
category = "categories"
30+
author = "authors"
31+
series = "series"
32+
33+
[sitemap]
34+
changefreq = 'daily'
35+
filename = 'sitemap.xml'
36+
priority = 0.5
37+
38+
[outputs]
39+
home = ["HTML", "RSS", "JSON"]
40+
41+
[related]
42+
threshold = 0
43+
toLower = false
44+
45+
[[related.indices]]
46+
name = "tags"
47+
weight = 100
48+
49+
[[related.indices]]
50+
name = "categories"
51+
weight = 100
52+
53+
[[related.indices]]
54+
name = "series"
55+
weight = 50
56+
57+
[[related.indices]]
58+
name = "authors"
59+
weight = 20
60+
61+
[[related.indices]]
62+
name = "date"
63+
weight = 10
64+
65+
[[related.indices]]
66+
applyFilter = false
67+
name = 'fragmentrefs'
68+
type = 'fragments'
69+
weight = 10

config/_default/languages.en.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
disabled = false
2+
languageCode = "en"
3+
languageName = "English"
4+
weight = 1
5+
title = "Brian's Website"
6+
7+
[params]
8+
displayName = "EN"
9+
isoCode = "en"
10+
rtl = false
11+
dateFormat = "2 January 2006"
12+
13+
["params.author"]
14+
name = "Brian Kunzang"
15+
bio = "UC Berkeley undergrad studying math"
16+
image = "."

config/_default/markup.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -- Markup --
2+
# These settings are required for the theme to function.
3+
4+
[goldmark]
5+
[goldmark.renderer]
6+
unsafe = true
7+
8+
[goldmark.extensions]
9+
[goldmark.extensions.passthrough]
10+
enable = true
11+
[goldmark.extensions.passthrough.delimiters]
12+
block = [['\[', '\]'], ['$$', '$$']]
13+
inline = [['\(', '\)']]
14+
15+
[highlight]
16+
noClasses = false
17+
18+
[tableOfContents]
19+
startLevel = 2
20+
endLevel = 4

config/_default/menus.en.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[[main]]
2+
none = "none"
3+
4+
[[main]]
5+
pageRef = "posts"
6+
identifier = "WG8B2mi8Ht"
7+
weight = 9_999
8+
9+
[[footer]]
10+
none = "none"

config/_default/module.toml

Whitespace-only changes.

config/_default/params.toml

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# -- Theme Options --
2+
# These options control how the theme functions and allow you to
3+
# customise the display of your website.
4+
#
5+
# Refer to the theme docs for more details about each of these parameters.
6+
# https://blowfish.page/docs/configuration/#theme-parameters
7+
8+
colorScheme = "blowfish"
9+
defaultAppearance = "light" # valid options: light or dark
10+
autoSwitchAppearance = true
11+
12+
enableA11y = false
13+
enableSearch = true
14+
enableCodeCopy = false
15+
16+
replyByEmail = false
17+
18+
# mainSections = ["section1", "section2"]
19+
# robots = ""
20+
21+
disableImageOptimization = false
22+
disableImageOptimizationMD = false
23+
disableTextInHeader = false
24+
# backgroundImageWidth = 1200
25+
26+
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
27+
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
28+
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
29+
30+
# highlightCurrentMenuArea = true
31+
# smartTOC = true
32+
# smartTOCHideUnfocusedChildren = true
33+
34+
fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384", "sha256"
35+
36+
giteaDefaultServer = "https://git.fsfe.org"
37+
forgejoDefaultServer = "https://v11.next.forgejo.org"
38+
39+
[header]
40+
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
41+
42+
[footer]
43+
showMenu = true
44+
showCopyright = true
45+
showThemeAttribution = true
46+
showAppearanceSwitcher = true
47+
showScrollToTop = true
48+
49+
[homepage]
50+
layout = "profile" # valid options: page, profile, hero, card, background, custom
51+
#homepageImage = "IMAGE.jpg" # used in: hero, and card
52+
showRecent = false
53+
showRecentItems = 5
54+
showMoreLink = false
55+
showMoreLinkDest = "/posts/"
56+
cardView = false
57+
cardViewScreenWidth = false
58+
layoutBackgroundBlur = false # only used when layout equals background
59+
disableHeroImageFilter = false # only used when layout equals hero
60+
61+
[article]
62+
showDate = true
63+
showViews = false
64+
showLikes = false
65+
showDateOnlyInArticle = false
66+
showDateUpdated = false
67+
showAuthor = true
68+
# showAuthorBottom = false
69+
showHero = false
70+
# heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground
71+
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
72+
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
73+
showBreadcrumbs = false
74+
showDraftLabel = true
75+
showEdit = false
76+
# editURL = "https://github.com/username/repo/"
77+
editAppendPath = true
78+
seriesOpened = false
79+
showHeadingAnchors = true
80+
showPagination = true
81+
invertPagination = false
82+
showReadingTime = true
83+
showTableOfContents = false
84+
# showRelatedContent = false
85+
# relatedContentLimit = 3
86+
showTaxonomies = false # use showTaxonomies OR showCategoryOnly, not both
87+
showCategoryOnly = false # use showTaxonomies OR showCategoryOnly, not both
88+
showAuthorsBadges = false
89+
showWordCount = true
90+
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram", "line"]
91+
showZenMode = false
92+
93+
[list]
94+
showHero = false
95+
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
96+
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
97+
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
98+
showBreadcrumbs = false
99+
showSummary = false
100+
showViews = false
101+
showLikes = false
102+
showTableOfContents = false
103+
showCards = false
104+
orderByWeight = false
105+
groupByYear = true
106+
cardView = false
107+
cardViewScreenWidth = false
108+
constrainItemsWidth = false
109+
110+
[sitemap]
111+
excludedKinds = ["taxonomy", "term"]
112+
113+
[taxonomy]
114+
showTermCount = true
115+
showHero = false
116+
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
117+
showBreadcrumbs = false
118+
showViews = false
119+
showLikes = false
120+
showTableOfContents = false
121+
cardView = false
122+
123+
[term]
124+
showHero = false
125+
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
126+
showBreadcrumbs = false
127+
showViews = false
128+
showLikes = false
129+
showTableOfContents = true
130+
groupByYear = false
131+
cardView = false
132+
cardViewScreenWidth = false
133+
134+
[firebase]
135+
# apiKey = "XXXXXX"
136+
# authDomain = "XXXXXX"
137+
# projectId = "XXXXXX"
138+
# storageBucket = "XXXXXX"
139+
# messagingSenderId = "XXXXXX"
140+
# appId = "XXXXXX"
141+
# measurementId = "XXXXXX"
142+
143+
[fathomAnalytics]
144+
# site = "ABC12345"
145+
# domain = "llama.yoursite.com"
146+
147+
[umamiAnalytics]
148+
# websiteid = "ABC12345"
149+
# domain = "llama.yoursite.com"
150+
# dataDomains = "yoursite.com,yoursite2.com"
151+
# scriptName = ""
152+
# enableTrackEvent = true
153+
154+
[selineAnalytics]
155+
# token = "XXXXXX"
156+
# enableTrackEvent = true
157+
158+
[buymeacoffee]
159+
# identifier = ""
160+
# globalWidget = true
161+
# globalWidgetMessage = "Hello"
162+
# globalWidgetColor = "#FFDD00"
163+
# globalWidgetPosition = "Right"
164+
165+
[verification]
166+
# google = ""
167+
# bing = ""
168+
# pinterest = ""
169+
# yandex = ""
170+
# fediverse = ""
171+
172+
[rssnext]
173+
# feedId = ""
174+
# userId = ""
175+
176+
[advertisement]
177+
# adsense = ""

hugo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
theme = "blowfish"
2+
baseURL = 'https://example.org/'
3+
languageCode = 'en-us'
4+
title = 'My New Hugo Site'
15
[caches]
26
[caches.assets]
37
dir = ':resourceDir/_gen'

0 commit comments

Comments
 (0)