Remove found tag page afterwards
Save rendering it twice
This commit is contained in:
parent
9c06ead675
commit
cb3dfeea75
1 changed files with 2 additions and 0 deletions
|
@ -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 = ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue