diff --git a/public/views/hedgedoc/head.ejs b/public/views/hedgedoc/head.ejs
index 446687953..419d5dcc7 100644
--- a/public/views/hedgedoc/head.ejs
+++ b/public/views/hedgedoc/head.ejs
@@ -7,7 +7,7 @@
<%- include('../includes/favicon') %>
<% for (var og in opengraph) { %>
<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %>
-
+
<% }} if (!opengraph.hasOwnProperty('image')) { %>