diff --git a/archivebox/themes/default/main_index.html b/archivebox/themes/default/main_index.html index 95af1963..85753b31 100644 --- a/archivebox/themes/default/main_index.html +++ b/archivebox/themes/default/main_index.html @@ -185,6 +185,14 @@ .title-col a { color: black; } + .tags { + float: right; + border-radius: 5px; + background-color: #bfdfff; + padding: 2px 5px; + margin-left: 4px; + margin-top: 1px; + } diff --git a/archivebox/themes/default/main_index_row.html b/archivebox/themes/default/main_index_row.html index 7ca14479..cfbcbfe8 100644 --- a/archivebox/themes/default/main_index_row.html +++ b/archivebox/themes/default/main_index_row.html @@ -8,20 +8,19 @@ {% else %} {% endif %} - - {{link.title|default:'Loading...'}} - - - - {% if link.tags_str != None %} - {{link.tags_str|default:''}} - {% else %} - {{ link.tags|default:'' }} - {% endif %} - - + + + {{link.title|default:'Loading...'}} + {% if link.tags_str %} + + {% if link.tags_str != None %} + {{link.tags_str|default:''}} + {% else %} + {{ link.tags|default:'' }} + {% endif %} - + {% endif %} + 📄