diff --git a/server/src/renderer/MomentRenderer.ts b/server/src/renderer/MomentRenderer.ts
index c007296..7de6817 100644
--- a/server/src/renderer/MomentRenderer.ts
+++ b/server/src/renderer/MomentRenderer.ts
@@ -68,8 +68,14 @@ class MomentRenderer {
height = Math.min(2048, entity.height);
width = entity.width * height / entity.height;
}
+ let url: string;
+ if (!!block.link) {
+ url = block.link;
+ } else {
+ url = `/entity/${escapeAttribute(block.entity)}`;
+ }
return `
-
+
`.trim();