mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Move extensions to their own folder (#3773)
This commit is contained in:
parent
f1af727e22
commit
2d18034759
@ -129,7 +129,7 @@ class SEODirective(Directive):
|
||||
if not image.startswith("/"):
|
||||
local_img = f"/images/{image}"
|
||||
image = "/_images/" + image
|
||||
p = Path(__file__).parent / local_img[1:]
|
||||
p = Path(__file__).parent.parent / local_img[1:]
|
||||
if not p.is_file():
|
||||
raise ValueError(f"File {p} for seo tag does not exist {self.state.document}")
|
||||
|
Loading…
Reference in New Issue
Block a user