diff options
Diffstat (limited to '.templates/listing.html')
| -rw-r--r-- | .templates/listing.html | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/.templates/listing.html b/.templates/listing.html deleted file mode 100644 index 3a52505..0000000 --- a/.templates/listing.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends 'base.html' %} - -{% block title %}ls /{{ directory|e }}{% endblock %} - -{% block content %} -<div id="listing"> - <h1><code>ls /{{ directory|e }}</code></h1> - - {% if sub_directories %} - <div id="directories"> - <h2>Directories</h2> - <ul> - {% for dir in sub_directories %} - <li><a href="{{ make_relative(dir.href) }}">{{ dir.basename|e }}/</a></li> - {% endfor %} - </ul> - </div> - {% endif %} - - {% if pages %} - <div id="pages"> - <h2>Pages</h2> - <ul> - {% for page in pages %} - <li><a href="{{ make_relative(page.href) }}">{{ page.title }}</a></li> - {% endfor %} - </ul> - </div> - {% endif %} - - {% if files %} - <div id="files"> - <h2>Files</h2> - {% for file in files %} - <li><a href="{{ make_relative(file.href) }}">{{ file.basename|e }}</a></li> - {% endfor %} - </div> - {% endif %} -</div> -{% endblock %} - -{% block scm_info %} -<a href="https://github.com/grimoire-ca/bliki/tree/main/wiki/{{ directory }}">See this directory on Github</a>. -{% endblock %}
\ No newline at end of file |
