From 72ad6946e60ed8f7f42742279ab91a1f83d5c3ef Mon Sep 17 00:00:00 2001 From: Tait Hoyem Date: Mon, 17 Apr 2023 00:57:05 -0600 Subject: [PATCH] Add version to master template --- src/main.rs | 2 ++ templates/master.html | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 30005ff..1fc3489 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,6 +28,8 @@ use sqlx::{Pool, Postgres}; use std::net::SocketAddr; use std::sync::Arc; +const VERSION: &str = "0.2.9"; + #[derive(Template)] #[template(path = "hello.html")] struct HelloTemplate<'a> { diff --git a/templates/master.html b/templates/master.html index e75a0e7..c12d571 100644 --- a/templates/master.html +++ b/templates/master.html @@ -11,6 +11,8 @@
{% block content %}{% endblock %}
- +