From 1351081f941a768ccba17611eb57014c2a963ce4 Mon Sep 17 00:00:00 2001
From: neri <neri@ctdo.de>
Date: Sat, 23 Jul 2022 15:02:13 +0200
Subject: [PATCH] fix unlimited max file size template render

---
 src/template.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/template.rs b/src/template.rs
index 7982029..0046fa6 100644
--- a/src/template.rs
+++ b/src/template.rs
@@ -52,7 +52,7 @@ fn build_index_html(config: &Config) -> String {
             .replace("{max_size_snippet}", MAX_SIZE_SNIPPET_HTML.trim_end())
             .replace("{max_size}", &render_file_size(max_file_size));
     } else {
-        html = html.replace("{max_size_snippet}", MAX_SIZE_SNIPPET_HTML.trim_end())
+        html = html.replace("{max_size_snippet}", "")
     };
     html
 }