From f963bcbcd92425b45c92ade6489e6e3bd156a679 Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Mon, 16 Feb 2026 22:12:11 +0100 Subject: [PATCH] fix merge --- pkg/web/components/layout.templ | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/pkg/web/components/layout.templ b/pkg/web/components/layout.templ index 88fc179..4c14f05 100644 --- a/pkg/web/components/layout.templ +++ b/pkg/web/components/layout.templ @@ -39,29 +39,17 @@ templ Head(props HeadProps) { type HeadProps struct { Links []Link Scripts []Script - Links []Link - Scripts []Script } type Link struct { Href string Rel string + As string } type Script struct { Src string Defer bool - Src string - Defer bool -} - -templ Head(props HeadProps) { - for _, link := range props.Links { - - } - for _, script := range props.Scripts { - - } } templ Header(props HeaderProps) { @@ -141,20 +129,15 @@ type HeaderProps struct { CreateHref string SearchPlaceholder string Routes []NavRoute - Routes []NavRoute } type NavRoute struct { Name string Path string - Name string - Path string } -templ Footer(props FooterProps) { templ Footer(props FooterProps) { } type FooterProps struct { } -