From 116bd7230c91e76e1d94e8878bef6487cbcc00ea Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Fri, 4 Oct 2019 11:04:58 +0200 Subject: Added og-metadata to index page - image and URL properties are only included if the server url is set, because opengraph protocol does not support relative links Signed-off-by: Erik Michelson --- public/views/index/head.ejs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'public/views/index/head.ejs') diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs index d790d917..400e2e59 100644 --- a/public/views/index/head.ejs +++ b/public/views/index/head.ejs @@ -6,6 +6,15 @@ + + + +<% if (serverURL !== "") { %> + + + + +<% } %> CodiMD - <%= __('Collaborative markdown notes') %> -- cgit v1.2.3 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/index/head.ejs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'public/views/index/head.ejs') diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs index 400e2e59..0f1e584e 100644 --- a/public/views/index/head.ejs +++ b/public/views/index/head.ejs @@ -9,12 +9,10 @@ -<% if (serverURL !== "") { %> - + -<% } %> CodiMD - <%= __('Collaborative markdown notes') %> -- cgit v1.2.3