~ritho/rweb

53fb590df5126b7ed423a5a2b6e1a563dd898efe — Ritho a month ago 3e5c6d9
Make the linter happy

Signed-off-by: Ritho <palvarez@ritho.net>
1 files changed, 4 insertions(+), 2 deletions(-)

M internal/engine/pages/blog/section/section.go
M internal/engine/pages/blog/section/section.go => internal/engine/pages/blog/section/section.go +4 -2
@@ 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()