restructure file system

This commit is contained in:
2025-05-25 12:20:02 +02:00
parent b4ac92af79
commit e853bb6a86
28 changed files with 29 additions and 29 deletions

View File

@@ -0,0 +1,11 @@
{% macro format_size(size) %}
{% if size < 1024 %}
{{ size }} B
{% elif size < 1024 * 1024 %}
{{ (size / 1024)|round(1) }} KB
{% elif size < 1024 * 1024 * 1024 %}
{{ (size / (1024 * 1024))|round(1) }} MB
{% else %}
{{ (size / (1024 * 1024 * 1024))|round(1) }} GB
{% endif %}
{% endmacro %}