Skip to content
Snippets Groups Projects
Verified Commit 746e46c4 authored by nd's avatar nd
Browse files

do not show hidden files in directory listings

parent b0ab0610
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ def main(inputfolder, outputfolder, ignore_files): ...@@ -67,7 +67,7 @@ def main(inputfolder, outputfolder, ignore_files):
<td class="size">-</td> <td class="size">-</td>
<td class="date">-</td> <td class="date">-</td>
</tr> </tr>
{% for entry, stat, is_dir in entries %} {% for entry, stat, is_dir in entries if not entry.startswith('.') %}
<tr> <tr>
<td class="link"> <td class="link">
<a href="{{ entry + ('/' if is_dir else '') }}" title="{{ entry }}">{{ entry + ('/' if is_dir else '') }}</a> <a href="{{ entry + ('/' if is_dir else '') }}" title="{{ entry }}">{{ entry + ('/' if is_dir else '') }}</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment