diff --git a/src/main.rs b/src/main.rs index 7f7ad4e..8d1e850 100644 --- a/src/main.rs +++ b/src/main.rs @@ -186,6 +186,7 @@ async fn render( "mtime", &mtime.map_or("???".to_string(), |t| t.format("%c").to_string()), ); + context.insert("version", VERSION); Ok(HttpResponse::Ok().body( state diff --git a/templates/main.html b/templates/main.html index 890010b..480e110 100644 --- a/templates/main.html +++ b/templates/main.html @@ -1,84 +1,104 @@ - - - - - {{garden_title}} - {{page_title}} - - - - - - -
- {{content | safe}} - - -
- + + + + + {{garden_title}} - {{page_title}} + + + + + + +
+ {{content | safe}} + + +
+ \ No newline at end of file