tweak index tooltips and details

This commit is contained in:
Nick Sweeting 2018-06-10 19:20:09 -04:00
parent 48df81b216
commit 62e33c011b
2 changed files with 10 additions and 10 deletions

View file

@ -145,6 +145,8 @@ def write_html_link_index(out_dir, link):
'tags': link['tags'] or 'untagged',
'bookmarked': datetime.fromtimestamp(float(link['timestamp'])).strftime('%Y-%m-%d %H:%M'),
'updated': datetime.fromtimestamp(float(link['updated'])).strftime('%Y-%m-%d %H:%M'),
'bookmarked_ts': link['timestamp'],
'updated_ts': link['updated'],
'archive_org': link['latest'].get('archive_org') or 'https://web.archive.org/save/{}'.format(link['url']),
'wget': link['latest'].get('wget') or wget_output_path(link),
}))