Show and Log Version
This commit is contained in:
parent
04310c58e0
commit
6794f7d6ba
@ -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()
|
||||
|
@ -61,6 +61,11 @@ span {
|
||||
background: #151515;
|
||||
}
|
||||
|
||||
#version {
|
||||
color: white;
|
||||
opacity: 25%;
|
||||
}
|
||||
|
||||
/* Subreddit */
|
||||
|
||||
.subreddit {
|
||||
|
@ -21,7 +21,7 @@
|
||||
{% block body %}
|
||||
{% block header %}
|
||||
<header>
|
||||
<a href="/"><span id="lib">lib</span>reddit.</a>
|
||||
<a href="/"><span id="lib">lib</span>reddit. <span id="version">v{{ env!("CARGO_PKG_VERSION") }}</span></a>
|
||||
<a id="github" href="https://github.com/spikecodes/libreddit">GITHUB</a>
|
||||
</header>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user