From 45149083a1f27c209bf6f95640b30831e0f903ed Mon Sep 17 00:00:00 2001 From: Brandon Pollack Date: Fri, 21 Nov 2025 12:58:22 +0900 Subject: [PATCH 1/5] add mise.toml with zola dep --- static-site/mise.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 static-site/mise.toml diff --git a/static-site/mise.toml b/static-site/mise.toml new file mode 100644 index 0000000..23921c0 --- /dev/null +++ b/static-site/mise.toml @@ -0,0 +1,2 @@ +[tools] +zola = "latest" From 6041c36e635c083f30fbc6ac0a4343d7f1aed698 Mon Sep 17 00:00:00 2001 From: Brandon Pollack Date: Fri, 21 Nov 2025 14:04:48 +0900 Subject: [PATCH 2/5] sponsors and some mise stuff added --- static-site/config.toml | 2 ++ static-site/content/sponsors.md | 12 ++++++++++++ static-site/mise.toml | 9 +++++++++ static-site/public/.gitkeep | 0 static-site/templates/footer.html | 1 + static-site/templates/index.html | 4 +++- static-site/templates/macros.tera.html | 22 +++++++++++++++++++++- static-site/templates/navbar.html | 5 +++++ static-site/templates/sponsors.html | 21 +++++++++++++++++++++ 9 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 static-site/content/sponsors.md delete mode 100644 static-site/public/.gitkeep create mode 100644 static-site/templates/sponsors.html diff --git a/static-site/config.toml b/static-site/config.toml index b8a1037..414935c 100644 --- a/static-site/config.toml +++ b/static-site/config.toml @@ -51,6 +51,7 @@ url = "https://www.linkedin.com/company/99059952" [extra.translations.en] home = "Home" +sponsors = "Sponsors" events = "Events" donate = "Donate" commercial_disclosure = "Commercial Disclosure" @@ -58,6 +59,7 @@ code_of_conduct = "Code of Conduct" [extra.translations.jp] home = "ホーム" +sponsors = "スポンサー" events = "イベント" donate = "寄付" commercial_disclosure = "特定商取引法に基づく表記" diff --git a/static-site/content/sponsors.md b/static-site/content/sponsors.md new file mode 100644 index 0000000..4a28ab2 --- /dev/null +++ b/static-site/content/sponsors.md @@ -0,0 +1,12 @@ ++++ +title = "Our Sponsors" +template = "sponsors.html" + +[[extra.sponsor]] +name = "RustJobs.dev" +url = "https://rustjobs.dev" +logo_html = '''RustJobs''' +description = "RustJobs.dev is the go-to hiring platform for Rust Engineering Talent. They have tons of job listings, including a few in Tokyo (hopefully with our help more soon!)" ++++ + +Thank you to our generous sponsors who help make Tokyo Rust possible! Their support enables us to host events, provide refreshments, and continue building our community. diff --git a/static-site/mise.toml b/static-site/mise.toml index 23921c0..e15e320 100644 --- a/static-site/mise.toml +++ b/static-site/mise.toml @@ -1,2 +1,11 @@ [tools] zola = "latest" + +[tasks.init] +description = "Initialize Zola and dependencies" +run = "npm i" + +[tasks.dev] +description = "Run Zola in serve/dev mode" +depends = ["init"] +run = "zola serve" diff --git a/static-site/public/.gitkeep b/static-site/public/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/static-site/templates/footer.html b/static-site/templates/footer.html index cd51d87..f1c8188 100644 --- a/static-site/templates/footer.html +++ b/static-site/templates/footer.html @@ -1,3 +1,4 @@ +{% import "macros.tera.html" as macros %}