A feed generator that allows Bluesky bookmarks via DMs
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 52 lines 2.5 kB view raw
1// Code generated by templ - DO NOT EDIT. 2 3// templ: version: v0.3.833 4package frontend 5 6//lint:file-ignore SA4006 This context is only used if a nested component is present. 7 8import "github.com/a-h/templ" 9import templruntime "github.com/a-h/templ/runtime" 10 11func Base() templ.Component { 12 return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { 13 templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context 14 if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { 15 return templ_7745c5c3_CtxErr 16 } 17 templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) 18 if !templ_7745c5c3_IsBuffer { 19 defer func() { 20 templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) 21 if templ_7745c5c3_Err == nil { 22 templ_7745c5c3_Err = templ_7745c5c3_BufErr 23 } 24 }() 25 } 26 ctx = templ.InitializeContext(ctx) 27 templ_7745c5c3_Var1 := templ.GetChildren(ctx) 28 if templ_7745c5c3_Var1 == nil { 29 templ_7745c5c3_Var1 = templ.NopComponent 30 } 31 ctx = templ.ClearChildren(ctx) 32 templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<!doctype html><html lang=\"en\"><head><title>Bsky-bookmark</title><link rel=\"icon\" type=\"image/x-icon\" href=\"/public/favicon.ico\"><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><link href=\"/public/styles.css\" rel=\"stylesheet\"><script defer src=\"https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js\"></script><script src=\"https://unpkg.com/htmx.org\"></script><script src=\"https://unpkg.com/htmx.org@1.9.11\" defer></script><script src=\"https://unpkg.com/htmx.org@1.9.12/dist/ext/json-enc.js\"></script><script src=\"https://unpkg.com/htmx.org@1.9.11/dist/ext/response-targets.js\"></script></head><body hx-ext=\"response-targets\" class=\"antialiased\">") 33 if templ_7745c5c3_Err != nil { 34 return templ_7745c5c3_Err 35 } 36 templ_7745c5c3_Err = Nav().Render(ctx, templ_7745c5c3_Buffer) 37 if templ_7745c5c3_Err != nil { 38 return templ_7745c5c3_Err 39 } 40 templ_7745c5c3_Err = templ_7745c5c3_Var1.Render(ctx, templ_7745c5c3_Buffer) 41 if templ_7745c5c3_Err != nil { 42 return templ_7745c5c3_Err 43 } 44 templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "</body></html>") 45 if templ_7745c5c3_Err != nil { 46 return templ_7745c5c3_Err 47 } 48 return nil 49 }) 50} 51 52var _ = templruntime.GeneratedTemplate