1
Fork 0

Remove found tag page afterwards

Save rendering it twice
This commit is contained in:
Jake Howard 2023-09-09 11:01:23 +01:00
parent 9c06ead675
commit cb3dfeea75
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ def on_files(files: Files, config):
if found_tag_page:
with open(found_tag_page.abs_src_path) as f:
content, _ = meta.get_data(f.read())
files.remove(found_tag_page)
else:
content = ""