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

View file

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