{ article.Category }
{ article.Date.Format("Mon, 02 Jan 2006") }
")
-//lint:file-ignore SA4006 This context is only used if a nested component is present.
return templ_7745c5c3_Err
}
- var templ_7745c5c3_Var14 string = article.Category
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14))
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(" ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(" ")
- if templ_7745c5c3_Err != nil {
-//lint:file-ignore SA4006 This context is only used if a nested component is present.
+// Code generated by templ - DO NOT EDIT.
// Code generated by templ - DO NOT EDIT.
- }
- var templ_7745c5c3_Var15 string = article.Date.Format("Mon, 02 Jan 2006")
+
import "bytes"
-import "io"
+
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
import "bytes"
-import "bytes"
- if templ_7745c5c3_Err != nil {
- return templ_7745c5c3_Err
- }
- templ_7745c5c3_Err = templ.Raw(article.Content).Render(ctx, templ_7745c5c3_Buffer)
+import "github.com/a-h/templ"
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
// Code generated by templ - DO NOT EDIT.
// Code generated by templ - DO NOT EDIT.
+// templ: version: 0.2.480
+import "bytes"
//lint:file-ignore SA4006 This context is only used if a nested component is present.
- return templ_7745c5c3_Err
- }
- var templ_7745c5c3_Var16 templ.SafeURL = templ.SafeURL(fmt.Sprintf("https://git.jolheiser.com/blog/tree/%s/%s", ref, article.path))
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(string(templ_7745c5c3_Var16)))
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\">")
+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("