Skip to content

Commit 2a5fd28

Browse files
committed
New theme
1 parent 7345ab4 commit 2a5fd28

24 files changed

+348
-0
lines changed

.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

assets/css/custom.css

Whitespace-only changes.

assets/img/article.png

1.45 MB
Loading

assets/img/avatar.png

1.44 MB
Loading

assets/img/bg1.png

2.14 MB
Loading

assets/img/bg2.png

2.61 MB
Loading

assets/img/bg3.png

2.75 MB
Loading

config/_default/hugo.toml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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"
6+
baseURL = "https://phillc.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+
[permalinks]
20+
posts = "/blog/:year/:month/:day/:slug/"
21+
22+
[pagination]
23+
pagerSize = 100
24+
25+
[imaging]
26+
anchor = 'Center'
27+
28+
[taxonomies]
29+
# tag = "tags"
30+
# category = "categories"
31+
# author = "authors"
32+
series = "series"
33+
34+
[sitemap]
35+
changefreq = 'daily'
36+
filename = 'sitemap.xml'
37+
priority = 0.5
38+
39+
[outputs]
40+
home = ["HTML", "RSS", "JSON"]
41+
42+
[related]
43+
threshold = 0
44+
toLower = false
45+
46+
[[related.indices]]
47+
name = "tags"
48+
weight = 100
49+
50+
[[related.indices]]
51+
name = "categories"
52+
weight = 100
53+
54+
[[related.indices]]
55+
name = "series"
56+
weight = 50
57+
58+
[[related.indices]]
59+
name = "authors"
60+
weight = 20
61+
62+
[[related.indices]]
63+
name = "date"
64+
weight = 10
65+
66+
[[related.indices]]
67+
applyFilter = false
68+
name = 'fragmentrefs'
69+
type = 'fragments'
70+
weight = 10

config/_default/languages.en.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
disabled = false
2+
languageCode = "en"
3+
languageName = "English"
4+
weight = 1
5+
title = "Phillip Campbell"
6+
7+
[params]
8+
displayName = "EN"
9+
isoCode = "en"
10+
rtl = false
11+
dateFormat = "2 January 2006"
12+
# logo = "img/logo.png"
13+
# secondaryLogo = "img/secondary-logo.png"
14+
description = "The website of Phillip Campbell"
15+
copyright = "Copyright 2008-2025 Phillip Campbell"
16+
17+
[params.author]
18+
name = "Phillip Campbell"
19+
image = "img/avatar.png"
20+
imageQuality = 96
21+
headline = "Heya!"
22+
bio = ""
23+
links = [
24+
{ github = "https://github.com/phillc" },
25+
{ linkedin = "https://linkedin.com/in/phillc1" },
26+
{ x-twitter = "https://twitter.com/phillc" },
27+
]

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

0 commit comments

Comments
 (0)