diff --git a/src/main.rs b/src/main.rs index c3bed73..daa8a23 100644 --- a/src/main.rs +++ b/src/main.rs @@ -40,7 +40,7 @@ async fn main() -> std::io::Result<()> { } // start http server - println!("Running Libreddit on {}!", address.clone()); + println!("Running Libreddit v{} on {}!", env!("CARGO_PKG_VERSION"), address.clone()); HttpServer::new(|| { App::new() diff --git a/static/style.css b/static/style.css index 4357fe6..bfa9127 100644 --- a/static/style.css +++ b/static/style.css @@ -61,6 +61,11 @@ span { background: #151515; } +#version { + color: white; + opacity: 25%; +} + /* Subreddit */ .subreddit { diff --git a/templates/base.html b/templates/base.html index c882d93..10bacf9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -21,7 +21,7 @@ {% block body %} {% block header %}
- libreddit. + libreddit. v{{ env!("CARGO_PKG_VERSION") }} GITHUB
{% endblock %}