From a6c8739044bba254c8964774cf9abaf09355b8d8 Mon Sep 17 00:00:00 2001 From: thek4n Date: Sun, 29 Mar 2026 09:23:35 +0300 Subject: [PATCH] style: some changes --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 2 +- templates/base.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f3e9f08..0d3c13d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -982,7 +982,7 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" [[package]] name = "mdpreview" -version = "0.4.2" +version = "0.4.3" dependencies = [ "askama", "askama_axum", diff --git a/Cargo.toml b/Cargo.toml index d6be546..20ff896 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdpreview" -version = "0.4.2" +version = "0.4.3" edition = "2024" authors = ["Vladislav Kan "] diff --git a/src/main.rs b/src/main.rs index a7453a4..b92568b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -154,7 +154,7 @@ async fn main() { let listener = tokio::net::TcpListener::bind(addr).await.unwrap(); let actual_addr = listener.local_addr().expect("Failed to get local address"); - println!("Server started on http://{actual_addr}"); + println!("mdpreview v{VERSION} server started on http://{actual_addr}"); if args.browser { let mut url = format!("http://{actual_addr}"); diff --git a/templates/base.html b/templates/base.html index 6c43937..6a32951 100644 --- a/templates/base.html +++ b/templates/base.html @@ -166,7 +166,7 @@ ← Main 🎲 Random note {% block footer %} -

{{ package_name }} - {{ authors }} - v{{ version }}

+

{{ package_name }} v{{ version }}

{% endblock %}