feat: Adds favicons, updates styles, includes Avenir font.
This commit is contained in:
@@ -27,8 +27,6 @@ func renderPage(context: ItemRenderingContext<PageMetadata>) -> Node {
|
||||
|
||||
func renderHome(body: String) -> Node {
|
||||
div {
|
||||
// img(alt: "Avatar", class: "my-24 w-[315px] h-200px mx-auto", src: "/static/images/avatar.png")
|
||||
|
||||
div(class: "my-24 uppercase font-avenir text-[40px] leading-[1.25] font-thin text-center [&>h1>strong]:font-bold") {
|
||||
Node.raw(body)
|
||||
}
|
||||
@@ -37,7 +35,7 @@ func renderHome(body: String) -> Node {
|
||||
|
||||
func renderNonHome(body: String) -> Node {
|
||||
article {
|
||||
div(class: "prose") {
|
||||
div(class: "font-avenir") {
|
||||
Node.raw(body)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user