directory_index.html 653 B

123456789101112131415161718192021
  1. {% load i18n %}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  6. <meta http-equiv="Content-Language" content="en-us">
  7. <meta name="robots" content="NONE,NOARCHIVE">
  8. <title>{% blocktranslate %}Index of {{ directory }}{% endblocktranslate %}</title>
  9. </head>
  10. <body>
  11. <h1>{% blocktranslate %}Index of {{ directory }}{% endblocktranslate %}</h1>
  12. <ul>
  13. {% if directory != "/" %}
  14. <li><a href="../">../</a></li>
  15. {% endif %}
  16. {% for f in file_list %}
  17. <li><a href="{{ f|urlencode }}">{{ f }}</a></li>
  18. {% endfor %}
  19. </ul>
  20. </body>
  21. </html>