up doc, add tags to autodetect

This commit is contained in:
Tykayn 2024-11-16 00:21:38 +01:00 committed by tykayn
parent 63d51307d5
commit 530b8b7553
9 changed files with 49 additions and 33 deletions

View file

@ -56,7 +56,7 @@ def enrich_one_file(html_content: str, partials: dict = {"header_page": "", "foo
css_content = f.read()
css_content = "<style type='text/css'>{css_content}</style>"
template_content["CSS_INLINE_CONTENT"] = css_content
template_content["PAGE_SLUG"] = "la_page"
template_content["PAGE_SLUG"] = detect_slug_in_file_basename(file)
# remplir le template
html_content = f"""