From f26f48793fdf5bb81f4bec5d7c50e5fe1ba978d6 Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Tue, 8 Oct 2019 21:11:01 +0200 Subject: Fixed bugs, added default image Signed-off-by: Erik Michelson --- public/views/codimd/head.ejs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'public/views/codimd') diff --git a/public/views/codimd/head.ejs b/public/views/codimd/head.ejs index e2f0375c..934767f6 100644 --- a/public/views/codimd/head.ejs +++ b/public/views/codimd/head.ejs @@ -6,8 +6,12 @@ <% for (var og in opengraph) { %> <% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %> - -<% }} %> + +<% }} if (!opengraph.hasOwnProperty('image')) { %> + + + +<% } %> <%= title %> -- cgit v1.2.3