Skip to content

Commit

Permalink
replacement of the .html by nothing for correct linking
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricdcc committed Sep 4, 2024
1 parent ab3bfa7 commit a27dc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def main():
# to the head of the html file
html_content = html_content.replace(
"</head>",
f'<link href="./{file}.ttl" rel="describedby" type="text/turtle" /></head>',
f'<link href="./{file.replace(".html","")}.ttl" rel="describedby" type="text/turtle" /></head>',
)
with open(file_path, "w") as html_file:
html_file.write(html_content)
Expand Down

0 comments on commit a27dc2b

Please sign in to comment.