style: some changes

This commit is contained in:
thek4n 2026-03-29 09:23:35 +03:00
parent 3b0de79a17
commit a6c8739044
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -982,7 +982,7 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
[[package]]
name = "mdpreview"
version = "0.4.2"
version = "0.4.3"
dependencies = [
"askama",
"askama_axum",

View File

@ -1,6 +1,6 @@
[package]
name = "mdpreview"
version = "0.4.2"
version = "0.4.3"
edition = "2024"
authors = ["Vladislav Kan <thek4n@yandex.ru>"]

View File

@ -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}");

View File

@ -166,7 +166,7 @@
<a href="/">← Main</a>
<a href="/random">🎲 Random note</a>
{% block footer %}
<p>{{ package_name }} - {{ authors }} - v{{ version }}</p>
<p>{{ package_name }} v{{ version }}</p>
{% endblock %}
</div>
</div>