From f50a36d5cc69c095ba4a5d4a3d240c5284e2b234 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 8 Jan 2023 08:47:54 -0500 Subject: summaries and only render if image exists --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/registry.go') diff --git a/registry/registry.go b/registry/registry.go index e50c6a5..d5f8bd6 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -126,7 +126,7 @@ func (r *Registry) Actor(name string) (map[string]interface{}, error) { Bytes: x509.MarshalPKCS1PublicKey(&privKey.PublicKey), }, ) - return views.RenderActor(handler.handlerCfg.Name, r.cfg.Domain, string(pemdata), handler.handlerCfg.AvatarContentType) + return views.RenderActor(handler.handlerCfg.Name, r.cfg.Domain, string(pemdata), handler.handlerCfg.AvatarContentType, handler.handlerCfg.Summary) } func (r *Registry) ActorAvatar(name string) ([]byte, string, error) { -- cgit v1.2.3