aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/renderer.rs5
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f030e29..14f2a58 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Add `--size-display` to allow for toggling file size display between `human` and `exact` [#1261](https://github.com/svenstaro/miniserve/pull/1261) (thanks @Lzzzzzt)
- Add well-known healthcheck route at `/__miniserve_internal/healthcheck` (of `/<prefix>/__miniserve_internal/healthcheck` when using `--route-prefix`)
- Add asynchronous recursive directory size counting [#1482](https://github.com/svenstaro/miniserve/pull/1482)
+- Add link to miniserve GitHub page to footer
## [0.29.0] - 2025-02-06
- Make URL encoding fully WHATWG-compliant [#1454](https://github.com/svenstaro/miniserve/pull/1454) (thanks @cyqsimon)
diff --git a/src/renderer.rs b/src/renderer.rs
index 3f67695..7846388 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -270,7 +270,10 @@ fn breadcrumbs_to_path_string(breadcrumbs: &[Breadcrumb]) -> String {
fn version_footer() -> Markup {
html! {
div.version {
- (format!("{}/{}", crate_name!(), crate_version!()))
+ a href="https://github.com/svenstaro/miniserve" {
+ (crate_name!())
+ }
+ (format!("/{}", crate_version!()))
}
}
}