commit 76047023d4cede330506720b80b2870de0358753 from: Benjamin Stürz date: Mon May 20 16:10:34 2024 UTC Minor changes commit - 3968c9abca5edfe4d73d06606ca43869b20ef153 commit + 76047023d4cede330506720b80b2870de0358753 blob - 10fcd13692ebced9ea3e5396f2b6b4ad3eea3d98 blob + d2e70a182c18856b15b0b8904c6f7728c3026752 --- src/site/index.rs +++ src/site/index.rs @@ -5,6 +5,12 @@ pub fn index(_req: &Request) -> Result { main { h1 = "Index"; p = "This is a simple CGI test website."; + p { + a [href="/projects"] { "My projects"; } + br; + br; + a [href="/cv-en.pdf"] { "Curriculum Vitae"; } + } } }; Ok(Page { blob - b2a5ef999c0586591c620302043e6176dcdc58c5 blob + 42f78aeb43394bc331b6ed365e3f49ee42a0964f --- src/site/mod.rs +++ src/site/mod.rs @@ -83,6 +83,7 @@ pub fn route(req: &Request) -> Result { #[allow(unstable_name_collisions)] pub fn menu() -> Element { let code = ("Code", "https://got.stuerz.xyz/?action=summary&path=www-cgi.git".into()); + let cv = ("CV", "/cv-en.pdf".into()); html! { nav { [ @@ -93,6 +94,7 @@ pub fn menu() -> Element { .sorted_by(|(_, w1, _), (_, w2, _)| w1.cmp(w2)) .map(|(l, _, p)| (*l, format!("/test/{p}"))) .chain(once(code)) + .chain(once(cv)) .map(|(l, p)| { let p = p.strip_suffix('*').unwrap_or(&p); html! { blob - 789f3d323184b696d87386c990875b7e7924fdfd blob + fed9107209219a01d4ef2d42ee0851d840b7e3ad --- www-cgi/posts/projects.md +++ www-cgi/posts/projects.md @@ -1,8 +1,10 @@ --- title: My project list -date: 2024-05-18 +date: 2024-05-20 --- +This is a somewhat chronological list of my current and past projects: + - [FUSE-based Simple Unix File System](https://got.stuerz.xyz/?action=summary&path=sufs.git) (2024) - [read-only FUSE driver for UFS](https://github.com/riscygeek/fuse-ufs) for [GSoC 2024](https://summerofcode.withgoogle.com/programs/2024/projects/mCAcivuH) - [Forth for OpenBSD/riscv64](https://got.stuerz.xyz/?action=summary&path=rvforth.git) (2024)