Hi. Thanks for your efforts.
One of the pages shows an error when published.
panic: runtime error: invalid memory address or nil pointer dereference, stack: goroutine 214016 [running]: runtime/debug.Stack() /home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/debug/stack.go:26 +0x64 github.com/anyproto/anytype-publish-renderer/renderer.(*Renderer).Render.func1() /home/runner/go/pkg/mod/github.com/anyproto/[email protected]/renderer/renderer.go:230 +0x44 panic({0x1049000?, 0x209f1f0?}) /home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/panic.go:785 +0x124 github.com/anyproto/anytype-publish-renderer/renderer.(*Renderer).RenderBlock(0x40004ddcb0, 0x400061dc80) /home/runner/go/pkg/mod/github.com/anyproto/[email protected]/renderer/page.go:54 +0x5c github.com/anyproto/anytype-publish-renderer/renderer.(*Renderer).RenderLayout.LayoutTemplate.func1({{0x158a0c0?, 0x400080fda0?}, {0x156a720?, 0x4000b70bd0?}}) /home/runner/go/pkg/mod/github.com/anyproto/[email protected]/renderer/layout_templ.go:68 +0x51c github.com/anyproto/anytype-publish-renderer/renderer.(*Renderer).RenderLayout.LayoutTemplate.GeneratedTemplate.func2({0x158a0c0?, 0x400080fda0?}, {0x156a720?, 0x4000b70bd0?}) /home/runner/go/pkg/mod/github.com/a-h/[email protected]/runtime/runtime.go:19 +0x34 github.com/a-h/templ.ComponentFunc.Render(0x40004ddcb0?, {0x158a0c0?, 0x400080fda0?}, {0x156a720?, 0x4000b70bd0?}) /home/runner/go/pkg/mod/github.com/a-h/[email protected]/runtime.go:36 +0x44 github.com/anyproto/anytype-publish-renderer/renderer.(*Renderer).RenderPage.PageTemplate.func1({{0x1589fe0?, 0x210d160?}, {0x1568680?, 0x400038a380?}}) /home/runner/go/pkg/mod/github.com/anyproto/[email protected]/renderer/page_templ.go:176 +0xcfc github.com/anyproto/anytype-publish-renderer/renderer.(*Renderer).RenderPage.PageTemplate.GeneratedTemplate.func2({0x1589fe0?, 0x210d160?}, {0x1568680?, 0x400038a380?}) /home/runner/go/pkg/mod/github.com/a-h/[email protected]/runtime/runtime.go:19 +0x34 github.com/a-h/templ.ComponentFunc.Render(0x150?, {0x1589fe0?, 0x210d160?}, {0x1568680?, 0x400038a380?}) /home/runner/go/pkg/mod/github.com/a-h/[email protected]/runtime.go:36 +0x44 github.com/anyproto/anytype-publish-renderer/renderer.(*Renderer).Render(0x1158d40?, {0x1568680?, 0x400038a380?}) /home/runner/go/pkg/mod/github.com/anyproto/[email protected]/renderer/renderer.go:236 +0x78 github.com/anyproto/anytype-publish-server/gateway.(*gateway).renderPage(0x40004bb040, {0x158a0f8?, 0x4000a18230?}, {0x1572350, 0x400038a380}, {0x40005f8285?, 0x40003f0aa8?}, {0x40005f82b6?, 0x4000a06778?}, 0x0) /home/runner/work/anytype-publish-server/anytype-publish-server/gateway/gateway.go:132 +0x414 github.com/anyproto/anytype-publish-server/gateway.(*gateway).renderPageHandler(0x40004bb040, {0x1572350, 0x400038a380}, 0x4000370280) /home/runner/work/anytype-publish-server/anytype-publish-server/gateway/gateway.go:86 +0x194 net/http.HandlerFunc.ServeHTTP(0x400038a1c0?, {0x1572350?, 0x400038a380?}, 0x2a9964?) /home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220 +0x38 net/http.(*ServeMux).ServeHTTP(0x0?, {0x1572350, 0x400038a380}, 0x4000370280) /home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2747 +0x1b4 net/http.serverHandler.ServeHTTP({0x4000675230?}, {0x1572350?, 0x400038a380?}, 0x6?) /home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3210 +0xbc net/http.(*conn).serve(0x4000bc4120, {0x158a0c0, 0x40004cf4d0}) /home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2092 +0x4fc created by net/http.(*Server).Serve in goroutine 105 /home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3360 +0x3dc