From 068e5fc397b2dc2a5c77687577e0c29c97b4a422 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 10 Oct 2026 02:41:26 +0300 Subject: Saving before stuff goes bad --- website.templ | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'website.templ') diff --git a/website.templ b/website.templ index 454568c..94242ad 100644 --- a/website.templ +++ b/website.templ @@ -24,7 +24,7 @@ templ HeadComponent(title string, description string) { - + { children... } } @@ -152,9 +152,7 @@ templ Nav(path string) { templ TerminalLayout(style Style, path string) { - @HeadComponent(path, "My personal website") { - - } + @HeadComponent(path, "My personal website")
@Nav(path) @@ -756,7 +754,7 @@ templ BlogPage(style Style, blog Blog, prev *Blog, next *Blog) { @TerminalLayout(style, blog.Title) { @ScrollBox("") { @BlogItem("", blog, "mb-[1rem]") -
+
@templ.Raw(blog.HTML)
@@ -768,17 +766,11 @@ templ BlogPage(style Style, blog Blog, prev *Blog, next *Blog) { } templ BlogNav(label string, blog *Blog, extra string) { - @TerminalBorder(label, "", extra) { - if blog != nil { - vim ~/blogs/{ blog.Slug } + if blog != nil { + @TerminalBorder(label, "", "min-w-0 "+extra) { + vim ~/blogs/{ blog.Slug } } + } else { +
} } - -templ FootnotePanel() { - -} -- cgit v1.3.1