remove flawed link_type concept in favor of simpler staticfile detection

This commit is contained in:
Nick Sweeting 2019-03-20 21:11:29 -04:00
parent c79e1df8b2
commit 5ee1c39720
4 changed files with 107 additions and 79 deletions

View file

@ -224,6 +224,7 @@ def write_html_link_index(out_dir, link):
wget_output_path(link)
or (link['domain'] if link['is_archived'] else 'about:blank')
),
'extension': link['extension'] or 'HTML',
}))
chmod_file(path)