From bc0d8b09c38de6bca8ceaf24e99bd89afab96d8e Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Mon, 18 Apr 2022 16:52:50 +0100 Subject: [PATCH] Rename crates list template --- src/routes/crates/list.rs | 2 +- templates/routes/crates/{list.html => crates-list.html} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename templates/routes/crates/{list.html => crates-list.html} (100%) diff --git a/src/routes/crates/list.rs b/src/routes/crates/list.rs index c0d4016..2438a77 100644 --- a/src/routes/crates/list.rs +++ b/src/routes/crates/list.rs @@ -18,7 +18,7 @@ pub(crate) async fn run() -> impl IntoResponse { // Render template let mut context = Context::new(); context.insert("crate_groups", &data.crate_groups); - let rendered = TERA.render("routes/crates/list.html", &context); + let rendered = TERA.render("routes/crates/crates-list.html", &context); // Handle template rendering errors let res = match rendered { diff --git a/templates/routes/crates/list.html b/templates/routes/crates/crates-list.html similarity index 100% rename from templates/routes/crates/list.html rename to templates/routes/crates/crates-list.html