@@ 201,14 201,16 @@ func (s *Section) Content() string {
"Next": s.info.nextPage,
}, nil)
if err != nil {
- slog.Error("Error rendenring the list of articles", "error", err, "component", "blog section")
+ slog.Error("Error rendenring the list of articles", "error", err,
+ "component", "blog section")
}
err = r.Render(&content, "body", map[string]any{
"body": articlesBuffer.String(),
}, nil)
if err != nil {
- slog.Error("Error rendenring the list of articles", "error", err, "component", "blog section")
+ slog.Error("Error rendenring the list of articles", "error", err,
+ "component", "blog section")
}
return content.String()