Skip to content

Commit 8cfa6ec

Browse files
committed
Initial blog setup with Blowfish theme and first post
0 parents  commit 8cfa6ec

14 files changed

Lines changed: 520 additions & 0 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Deploy Hugo to GitHub Pages
2+
on:
3+
push:
4+
branches: [main]
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: pages
14+
cancel-in-progress: false
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
submodules: recursive
23+
fetch-depth: 0
24+
- uses: peaceiris/actions-hugo@v3
25+
with:
26+
hugo-version: "0.167.0"
27+
extended: true
28+
- id: pages
29+
uses: actions/configure-pages@v5
30+
- run: hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
31+
- uses: actions/upload-pages-artifact@v3
32+
with:
33+
path: ./public
34+
35+
deploy:
36+
needs: build
37+
runs-on: ubuntu-latest
38+
environment:
39+
name: github-pages
40+
url: ${{ steps.deployment.outputs.page_url }}
41+
steps:
42+
- id: deployment
43+
uses: actions/deploy-pages@v4

‎.gitignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public/
2+
resources/_gen/
3+
.hugo_build.lock
4+
.DS_Store

‎.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

‎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+
+++

‎assets/blogprofile.jpg‎

435 KB
Loading

‎assets/img/avatar.jpg‎

40.6 KB
Loading

‎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"
6+
baseURL = "https://sagitdev.github.io/"
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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
disabled = false
2+
locale = "en"
3+
label = "English"
4+
weight = 1
5+
title = "Stella's Dev Notes"
6+
7+
[params]
8+
displayName = "EN"
9+
isoCode = "en"
10+
rtl = false
11+
dateFormat = "2 January 2006"
12+
description = "Engineering notes on building reliable systems: design decisions, debugging stories, and lessons learned across AI agents, RAG pipelines, and mobile apps."
13+
copyright = "© 2026 Stella Ji"
14+
15+
[params.author]
16+
name = "Stella Ji"
17+
image = "img/avatar.jpg"
18+
headline = "Software Engineer · AI Developer"
19+
bio = "Building reliable systems, one hard problem at a time."
20+
links = [
21+
{ github = "https://github.com/sagitdev" },
22+
# { linkedin = "https://linkedin.com/in/" },
23+
{ email = "azcawa2026@gmail.com" },
24+
]

‎config/_default/markup.toml‎

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

‎config/_default/menus.en.toml‎

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# -- Main Menu --
2+
# The main menu is displayed in the header at the top of the page.
3+
# Acceptable parameters are name, pageRef, page, url, title, weight.
4+
#
5+
# The simplest menu configuration is to provide:
6+
# name = The name to be displayed for this menu link
7+
# pageRef = The identifier of the page or section to link to
8+
#
9+
# By default the menu is ordered alphabetically. This can be
10+
# overridden by providing a weight value. The menu will then be
11+
# ordered by weight from lowest to highest.
12+
13+
#[[main]]
14+
# name = "Blog"
15+
# pageRef = "posts"
16+
# weight = 10
17+
18+
#[[main]]
19+
# name = "Parent"
20+
# weight = 20
21+
22+
#[[main]]
23+
# name = "example sub-menu 1"
24+
# parent = "Parent"
25+
# pageRef = "posts"
26+
# weight = 20
27+
28+
#[[main]]
29+
# name = "example sub-menu 2"
30+
# parent = "Parent"
31+
# pageRef = "posts"
32+
# weight = 20
33+
34+
#[[subnavigation]]
35+
# name = "An interesting topic"
36+
# pageRef = "tags/interesting-topic"
37+
# weight = 10
38+
39+
#[[subnavigation]]
40+
# name = "My Awesome Category"
41+
# pre = "github"
42+
# pageRef = "categories/awesome"
43+
# weight = 20
44+
45+
#[[main]]
46+
# name = "Categories"
47+
# pageRef = "categories"
48+
# weight = 20
49+
50+
#[[main]]
51+
# name = "Tags"
52+
# pageRef = "tags"
53+
# weight = 30
54+
55+
56+
# -- Footer Menu --
57+
# The footer menu is displayed at the bottom of the page, just before
58+
# the copyright notice. Configure as per the main menu above.
59+
60+
61+
# [[footer]]
62+
# name = "Tags"
63+
# pageRef = "tags"
64+
# weight = 10
65+
66+
# [[footer]]
67+
# name = "Categories"
68+
# pageRef = "categories"
69+
# weight = 20
70+
71+
[[main]]
72+
name = "Posts"
73+
pageRef = "posts"
74+
weight = 10
75+
76+
[[main]]
77+
name = "Tags"
78+
pageRef = "tags"
79+
weight = 20
80+
81+
[[main]]
82+
pre = "github"
83+
url = "https://github.com/sagitdev"
84+
weight = 30
85+
86+
[[footer]]
87+
name = "Tags"
88+
pageRef = "tags"
89+
weight = 10

0 commit comments

Comments
 (0)