Skip to content

Commit 1a20143

Browse files
author
TechStack Global
committed
chore: update seo audit to handle homepage canonical correctly
1 parent 8d6e75f commit 1a20143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seo_audit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
def get_expected_live_url(filepath):
2626
rel_path = os.path.relpath(filepath, BASE_DIR).replace('\\', '/')
2727
if rel_path == 'index.html':
28-
return f"{BASE_URL}/"
28+
return f"{BASE_URL}/index.html"
2929
return f"{BASE_URL}/{rel_path}"
3030

3131
def is_valid_url(url, current_filepath):

0 commit comments

Comments
 (0)