diff --git a/layouts/partials/graph.html b/layouts/partials/graph.html
index a963743..7dcd536 100644
--- a/layouts/partials/graph.html
+++ b/layouts/partials/graph.html
@@ -185,7 +185,7 @@
const labels = graphNode.append("text")
.attr("dx", 12)
.attr("dy", ".35em")
- .text((d) => content[d.id.replace("%20", "-")].title)
+ .text((d) => content[d.id.replace("%20", "-")]?.title || "Untitled")
.style("opacity", 0)
.style("pointer-events", "none")
.call(drag(simulation));