Skip to content

Commit 364ced2

Browse files
author
makkusu
committed
Merge pull request 'Rework UI as a Zola Theme' (#1) from ui/theme into main
Reviewed-on: http://tinker:3000/makkusu/mbuffa.github.io/pulls/1
2 parents b039cb6 + 6923a3e commit 364ced2

31 files changed

Lines changed: 219 additions & 115 deletions

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# AGENTS
2+

config.toml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# zola_version = 0.21.0
33
base_url = "https://mbuffa.github.io"
44
author = "mbuffa@users.noreply.github.com (Maxime Buffa)"
5+
theme = "starlit"
56
compile_sass = true
67
generate_feeds = true
78
feed_filenames = ["atom.xml", "rss.xml"]
@@ -16,4 +17,33 @@ taxonomies = [
1617
highlight_code = true
1718

1819
[extra]
19-
# Put all your custom variables here
20+
author_name = "Maxime Buffa"
21+
author_tagline = "Sr. Backend Engineer and DevOps"
22+
default_description = "My personal website with tips and rants."
23+
enable_hero = true
24+
enable_dark_mode_toggle = true
25+
heap_analytics_id = "4008293954"
26+
google_fonts = [
27+
"Bitter:ital,wght@0,100..900;1,100..900",
28+
"Lato:wght@100;300;700",
29+
]
30+
nav_links = [
31+
{ path = "/", title = "Home" },
32+
{ path = "/articles", title = "Articles" },
33+
{ path = "/demos", title = "Demos" },
34+
{ path = "/tags", title = "Tags" },
35+
{ path = "/hiring", title = "Hiring" },
36+
]
37+
social_links = [
38+
{ url = "https://github.com/mbuffa", title = "GitHub" },
39+
{ url = "https://www.linkedin.com/in/maxime-buffa", title = "LinkedIn" },
40+
{ url = "https://bsky.app/profile/madmakks.bsky.social", title = "BlueSky" },
41+
{ url = "mailto:makkusoft@proton.me", title = "Email" },
42+
]
43+
44+
[extra.giscus]
45+
enabled = true
46+
repo = "mbuffa/mbuffa.github.io"
47+
repo_id = "MDEwOlJlcG9zaXRvcnkyNDYzOTIyNjU="
48+
category = "Announcements"
49+
category_id = "DIC_kwDODq-lyc4CAZ1r"

content/articles/20260313-blog-server-hacking-part-three.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ This reflects on Argo UI, and you can tell the hierarchy between your top depend
169169

170170
I'll definitely try to blog about tips and tricks about Argo when I get more used to it :)
171171

172-
## A quick note about K8s manifests: Kustomize vs Helm
172+
## Kustomize vs Helm
173173
I briefly mentioned that I migrated my Kubernetes files (which were just plain YAML files). This initial setup had a couple of issues:
174174
1. My config map was not versioned (name set to `suto-config`) which meant my app wouldn't restart when my config map would have been updated.
175175
2. It requires a bit of `sed` to update the hardcoded Docker image in several manifests. Which is a terrible idea.

content/navbar.csv

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

content/socials.csv

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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
"test": "echo \"Error: no test specified\" && exit 1",
77
"serve": "npx npm-watch",
88
"watch": "npm run build",
9-
"build": "npx tailwindcss@3 -i ./css/main.css -o ./public/main.css --minify"
9+
"build": "npx tailwindcss@3 -i ./themes/starlit/css/main.css -o ./public/main.css --minify"
1010
},
1111
"watch": {
1212
"watch": {
1313
"patterns": [
14-
"css/**/**",
14+
"themes/starlit/css/**/**",
15+
"themes/starlit/templates/**/**",
1516
"templates/**/**"
1617
],
1718
"extensions": "css,html",

tailwind.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/** @type {import('tailwindcss').Config} */
22
module.exports = {
33
content: [
4-
'./templates/**/*.html'
4+
'./themes/starlit/templates/**/*.html',
5+
'./templates/**/*.html',
56
],
67
darkMode: "class",
78
colors: {},

templates/articles/_tags.html

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

templates/articles/_toc.html

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

templates/articles/_toc_link.html

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

0 commit comments

Comments
 (0)