diff --git a/distribusi/distribusi/distribusi.py b/distribusi/distribusi/distribusi.py index 204216e..90e3286 100644 --- a/distribusi/distribusi/distribusi.py +++ b/distribusi/distribusi/distribusi.py @@ -67,14 +67,14 @@ def div(args, type_, subtype, tag, name, id): filename = '{}'.format(name) if 'image' in type_: - html = '
{}
' + html = '
{}#{}
' elif 'pdf' in subtype: - html = '
{}' + filename + '
' + html = '
{}' + filename + '#{}
' elif 'dir' in type_ or 'html' in subtype or 'unkown-file' in subtype: - html = '
{}
' + html = '
{}{}
' else: - html = '
{}' + filename + '
' - return html.format(id, subtype, tag) + html = '
{}' + filename + '#{}
' + return html.format(subtype, id, tag, id) def check_distribusi_index(args, index):