mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
fix relative links from index files
This commit is contained in:
parent
ce13a57a2c
commit
2e10f57f6e
6 changed files with 335 additions and 392 deletions
|
@ -164,7 +164,7 @@ def parse_json_link_index(out_dir):
|
|||
|
||||
def write_html_link_index(out_dir, link):
|
||||
check_link_structure(link)
|
||||
with open(os.path.join(TEMPLATES_DIR, 'link_index_fancy.html'), 'r', encoding='utf-8') as f:
|
||||
with open(os.path.join(TEMPLATES_DIR, 'link_index.html'), 'r', encoding='utf-8') as f:
|
||||
link_html = f.read()
|
||||
|
||||
path = os.path.join(out_dir, 'index.html')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue