Add config option for max file size info
This commit is contained in:
		
							parent
							
								
									0700d66d70
								
							
						
					
					
						commit
						bf825f8ffd
					
				|  | @ -34,5 +34,6 @@ config["CLEAN_INTERVAL"] = 120 | ||||||
| 
 | 
 | ||||||
| # Site info displayed to the user | # Site info displayed to the user | ||||||
| config["SITE_DATA"] = { | config["SITE_DATA"] = { | ||||||
|   "title": "QuadFile" |   "title": "QuadFile", | ||||||
|  |   "size": "100 MiB" # This is only for display, please limit filesizes using your web server | ||||||
| } | } | ||||||
|  | @ -3,7 +3,9 @@ | ||||||
|     <h1 id="limits">Terms</h1> |     <h1 id="limits">Terms</h1> | ||||||
|     <ul> |     <ul> | ||||||
|       <li><strong>You</strong> are responsible for the file you upload</li> |       <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 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>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> |       <li>If I find illegal content (eg. CP, viruses and such) it will instantly be deleted</li> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue