diff --git a/.gitignore b/.gitignore index 3fa7b64..9c9aaec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ target/ .claude/ public/ -content/past/*.md -content/upcoming/*.md +content/events/past/*.md +content/events/upcoming/*.md diff --git a/README.md b/README.md index 7409a2b..20f282e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This repository contains the Zola static site for **rust-munich.de** and a small . ├── Cargo.toml # workspace (CLI) ├── config.toml # Zola config (en default, de alternative) -├── content/ # Pages; events are generated into upcoming/ and past/ +├── content/ # Pages; events are generated into events/upcoming/ and events/past/ ├── data/events/ # Single source of truth: one YAML per event ├── static/img/ # Logo placeholder (replace with icon repo asset) └── tools/contentgen/ # Rust CLI for events and jobs generation diff --git a/config.toml b/config.toml index 9f9ccc6..fc321d4 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,6 @@ # Zola configuration for rust-munich.de -# base_url = "https://rust-munich.github.io/website/" -base_url = "/website/" +# For local dev, run: zola serve (automatically uses localhost) +base_url = "https://rust-munich.github.io/website/" title = "Rust Munich" description = "Rust Munich meetup group — events, community, and resources." default_language = "en" @@ -47,8 +47,12 @@ path = "/" [[extra.menu]] title = "Events" -path = "past/" +path = "events/past/" [[extra.menu]] -title = "Job Opportunities" +title = "Rust Jobs" path = "jobs/" + +[[extra.menu]] +title = "Neighborhood" +path = "umgebung/" diff --git a/content/contribute/index.md b/content/contribute/index.md new file mode 100644 index 0000000..28b83ff --- /dev/null +++ b/content/contribute/index.md @@ -0,0 +1,32 @@ ++++ +title = "Contribute" +template = "page.html" ++++ + +This website is open source. Spotted something outdated? Know a meetup we're missing? You can fix it yourself! + +## How to Contribute + +1. Fork the [website repository](https://github.com/rust-munich/website) +2. Make your changes +3. Open a pull request + +That's it. We'll review and merge it. + +## What You Can Help With + +**Add a meetup to [Neighborhood](/website/umgebung/)** +Know a Rust meetup in Bavaria or nearby? Add it to `content/umgebung/index.md`. + +**Update outdated information** +Event details wrong? Link broken? Fix it directly in the relevant file under `content/`. + +**Suggest a host for [Our Hosts](/website/past-hosts/)** +Your company hosted us? Add yourself to `content/past-hosts/_index.md`. + +**Improve the website** +Found a bug? Have a design idea? PRs welcome. + +## Questions? + +Not sure how to proceed? Open an [issue](https://github.com/rust-munich/website/issues) and we'll help you out. diff --git a/content/jobs/_index.md b/content/jobs/_index.md index 62ad42c..b5dc7f2 100644 --- a/content/jobs/_index.md +++ b/content/jobs/_index.md @@ -2,5 +2,3 @@ title = "Job Opportunities" template = "jobs.html" +++ - -We feature Rust job opportunities from companies that support our community. All job postings are submitted via GitHub Pull Request to ensure transparency and community involvement. diff --git a/content/jobs/example-rust-developer.md b/content/jobs/example-rust-developer.md index 71b3131..9226b4d 100644 --- a/content/jobs/example-rust-developer.md +++ b/content/jobs/example-rust-developer.md @@ -12,7 +12,7 @@ application_url = "https://example-tech.com/careers/rust-developer" expires_date = "2030-12-01" salary_range = "€70,000 - €90,000" company_url = "https://example-tech.com" -logo_url = "/img/rust-munich-logo.svg" +logo_url = "https://rust-munich.github.io/website/img/rust-munich-logo.svg" tags = ["rust", "backend", "microservices", "kubernetes"] +++ diff --git a/content/past-hosts/_index.md b/content/past-hosts/_index.md new file mode 100644 index 0000000..2444ee7 --- /dev/null +++ b/content/past-hosts/_index.md @@ -0,0 +1,73 @@ ++++ +title = "Our Hosts" +template = "section.html" ++++ + +Rust Munich wouldn't happen without companies opening their doors to us. A heartfelt thank you to everyone who has provided a space for our community to gather. + +## Thank You + +
Garching bei München
+München
+München
+München
+München
+München
+München
+München
+