From bf825f8ffd21fdaba1cdda7acf5fb986be509ff3 Mon Sep 17 00:00:00 2001 From: quad Date: Fri, 11 Mar 2016 17:06:37 +0100 Subject: [PATCH] Add config option for max file size info --- conf.py.sample | 3 ++- templates/terms.html | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/conf.py.sample b/conf.py.sample index 59dddd2..ba3e85f 100644 --- a/conf.py.sample +++ b/conf.py.sample @@ -34,5 +34,6 @@ config["CLEAN_INTERVAL"] = 120 # Site info displayed to the user config["SITE_DATA"] = { - "title": "QuadFile" + "title": "QuadFile", + "size": "100 MiB" # This is only for display, please limit filesizes using your web server } \ No newline at end of file diff --git a/templates/terms.html b/templates/terms.html index 58cb800..d67253d 100644 --- a/templates/terms.html +++ b/templates/terms.html @@ -3,7 +3,9 @@

Terms