fix(headers): use h1 instead
This commit is contained in:
parent
3d11c3de06
commit
2d16b158cb
4
.github/add-headers.py
vendored
4
.github/add-headers.py
vendored
@ -64,7 +64,7 @@ headers = {
|
||||
"UnsafeSites.md": ["Unsafe Sites", "Unsafe/harmful sites to avoid."],
|
||||
}
|
||||
|
||||
title = '<div class="space-y-2 not-prose"><h2 class="text-4xl font-extrabold tracking-tight text-primary underline lg:text-5xl lg:leading-[3.5rem]">'
|
||||
title = '<div class="space-y-2 not-prose"><h1 class="text-4xl font-extrabold tracking-tight text-primary underline lg:text-5xl lg:leading-[3.5rem]">'
|
||||
|
||||
description = '<p class="text-black dark:text-text-2">'
|
||||
|
||||
@ -75,7 +75,7 @@ def getHeader(page: str):
|
||||
header += f'title: "{data[0]}"\n'
|
||||
header += f"description: {data[1]}\n"
|
||||
header += "---\n"
|
||||
header += f"{title}{data[0]}</h2>\n"
|
||||
header += f"{title}{data[0]}</h1>\n"
|
||||
header += f"{description}{data[1]}</p></div>\n\n"
|
||||
return header
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user