diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2022-02-26 13:30:01 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2022-02-26 13:30:01 -0500 |
| commit | dc374510bf5a636fd404d896b12386d41bb7b409 (patch) | |
| tree | 13d665072debe43aa1d5a18e561f3bd7844d1553 /.templates/listing.html | |
| parent | 6df689e1d2ef15b227ee488ea5eff6ecf26855b3 (diff) | |
Reference 'main', not 'master', as the publication branch.
Diffstat (limited to '.templates/listing.html')
| -rw-r--r-- | .templates/listing.html | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/.templates/listing.html b/.templates/listing.html index 8964b82..3a52505 100644 --- a/.templates/listing.html +++ b/.templates/listing.html @@ -3,42 +3,42 @@ {% block title %}ls /{{ directory|e }}{% endblock %} {% block content %} - <div id="listing"> - <h1><code>ls /{{ directory|e }}</code></h1> +<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 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 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 %} + {% 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/master/wiki/{{ directory }}">See this directory on Github</a>. -{% endblock %} +<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 |
