diff --git a/src/Vervis/Handler/Inbox.hs b/src/Vervis/Handler/Inbox.hs index 34c172a..c72335d 100644 --- a/src/Vervis/Handler/Inbox.hs +++ b/src/Vervis/Handler/Inbox.hs @@ -96,6 +96,7 @@ import Yesod.ActivityPub import Yesod.Auth.Unverified import Yesod.FedURI import Yesod.Hashids +import Yesod.RenderSource import qualified Data.Aeson.Encode.Pretty.ToEncoding as AEP diff --git a/templates/person/outbox.hamlet b/templates/person/outbox.hamlet index d9a4fa3..8818a6a 100644 --- a/templates/person/outbox.hamlet +++ b/templates/person/outbox.hamlet @@ -22,6 +22,6 @@ $# .
$forall Entity _ (OutboxItem _ (PersistJSON doc) published) <- items
#{showTime published} -
#{AEP.encodePrettyToLazyText doc}
+    
^{renderPrettyJSON doc} ^{pageNav}