Add current Empede version as HTML comment
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1fb778da54
commit
cac047d121
|
@ -6,6 +6,12 @@ use serde::Deserialize;
|
|||
|
||||
mod mpd;
|
||||
|
||||
macro_rules! crate_version {
|
||||
() => {
|
||||
env!("CARGO_PKG_VERSION")
|
||||
};
|
||||
}
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "index.html")]
|
||||
struct IndexTemplate;
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<head>
|
||||
<title>Empede</title>
|
||||
|
||||
<!-- Empede version: {{ crate_version!() }} -->
|
||||
|
||||
<!-- Source: https://github.com/bigskysoftware/htmx -->
|
||||
<script src="/static/vendor/htmx.min.js"></script>
|
||||
<script src="/static/vendor/htmx-sse.js"></script>
|
||||
|
|
Loading…
Reference in New Issue