style: better headings
This commit is contained in:
parent
01d5afd12d
commit
3d11c3de06
6
.github/add-headers.py
vendored
6
.github/add-headers.py
vendored
@ -64,9 +64,9 @@ headers = {
|
||||
"UnsafeSites.md": ["Unsafe Sites", "Unsafe/harmful sites to avoid."],
|
||||
}
|
||||
|
||||
title = '<div class="space-y-2 not-prose"><h1 class="text-4xl font-extrabold tracking-tight lg:text-5xl lg:leading-[3.5rem]">'
|
||||
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]">'
|
||||
|
||||
description = '<p class="text-gray-500 dark:text-gray-400">'
|
||||
description = '<p class="text-black dark:text-text-2">'
|
||||
|
||||
|
||||
def getHeader(page: str):
|
||||
@ -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]}</h1>\n"
|
||||
header += f"{title}{data[0]}</h2>\n"
|
||||
header += f"{description}{data[1]}</p></div>\n\n"
|
||||
return header
|
||||
|
||||
|
@ -3,6 +3,10 @@ title: Monthly Updates [Jan] Happy New Year!
|
||||
description: Happy New Year to our FMHY family.
|
||||
date: 2024-01-01
|
||||
next: false
|
||||
aside: left
|
||||
prev: false
|
||||
sidebar: false
|
||||
footer: true
|
||||
---
|
||||
<Post authors="['nbats', 'zinklog', 'Q', 'Kai', 'taskylizard']" />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user