diff options
author | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-13 14:21:07 -0700 |
---|---|---|
committer | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-13 14:21:07 -0700 |
commit | d6ca0e96012f93a14428cdbe43408110639e4ef7 (patch) | |
tree | 717888ba7dd2ebc1e8642ba76a2a235abfda5154 /templates/index.html | |
parent | 9ee86c545e14ade1fd14b7068bdda6cf5a7c47a9 (diff) | |
parent | 4cd0884b307e28bd9f2e531c41fb7b41600b02a4 (diff) | |
download | roka-d6ca0e96012f93a14428cdbe43408110639e4ef7.tar.gz roka-d6ca0e96012f93a14428cdbe43408110639e4ef7.zip |
Merge remote-tracking branch 'origin/master' into static-generation
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 4e6998d..bac87d2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -28,7 +28,10 @@ <table> <tr> <th>Title</th> + <th>Author</th> + {% if show_path %} <th>Path</th> + {% endif %} <th>Tracks</th> <th>Duration</th> <th>Size</th> @@ -36,7 +39,10 @@ {% for b, v in books.items() %} <tr> <td><a href="{{'?a=' if not static else '/'}}{{ b }}{{'.xml' if static}}">{{ v['title']|escape }}</a></td> + <td>{{ v['author'] }}</td> + {% if show_path %} <td>{{ v['path']|escape }}</td> + {% endif %} <td>{{ v['files']|length }}</td> <td>{{ v['duration_str'] }}</td> <td>{{ v['size_str'] }}</td> |