Commit
Message
Changed Files (2)
-
modified CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md index cd6d0e3..ee9a61e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [unreleased] + +### 🚀 Features + +- Add a static UI for the repository. ## [0.6.1] - 2026-06-04 ### 🚀 Features -
modified src/main.rs
diff --git a/src/main.rs b/src/main.rs index 80e4c18..3d56fb8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -403,9 +403,13 @@ async fn main() -> Result<()> { ) .await .into_diagnostic()?; - tokio::fs::write(theme_path.join("site.css"), site::SITE_CSS) - .await - .into_diagnostic()?; + { + let static_dir = theme_path.join("static"); + create_dir_all(&static_dir).await.into_diagnostic()?; + tokio::fs::write(static_dir.join("site.css"), site::SITE_CSS) + .await + .into_diagnostic()?; + } tokio::fs::write( theme_path.join("git_tree.html.j2"), git_ui::TEMPLATE_GIT_TREE,