Commit bf825f8f authored by Dominik V. Salonen's avatar Dominik V. Salonen

Add config option for max file size info

parent 0700d66d
......@@ -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
......@@ -3,7 +3,9 @@
<h1 id="limits">Terms</h1>
<ul>
<li><strong>You</strong> are responsible for the file you upload</li>
<li>The max file size is <strong>100 MiB</strong></li>
{% if page.size is defined %}
<li>The max file size is <strong>{{ page.size }}</strong></li>
{% endif %}
<li>Files are deleted when they haven't been accessed for a week.</li>
<li>Files may be deleted if requested by the content owner</li>
<li>If I find illegal content (eg. CP, viruses and such) it will instantly be deleted</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment