From fa26dfd71fd59666c1ddf499c1ea2d6294f2c924 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Fri, 5 Jun 2020 20:00:42 +0200 Subject: [PATCH] remove facebook api on blog --- blog/views/default/layout.ls | 3 ++- blog/views/default/post/detail.ls | 2 +- blog/views/default/post/posts.ls | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/blog/views/default/layout.ls b/blog/views/default/layout.ls index 2fb8a31..f01192a 100644 --- a/blog/views/default/layout.ls +++ b/blog/views/default/layout.ls @@ -74,13 +74,14 @@ }(document, "script", "twitter-wjs")); // facebook + /* (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12'; fjs.parentNode.insertBefore(js, fjs); - }(document, 'script', 'facebook-jssdk')); + }(document, 'script', 'facebook-jssdk'));*/ /*(function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; diff --git a/blog/views/default/post/detail.ls b/blog/views/default/post/detail.ls index 6398733..acc511e 100644 --- a/blog/views/default/post/detail.ls +++ b/blog/views/default/post/detail.ls @@ -25,7 +25,7 @@ local old_url = HTTP_ROOT.."/r:id:"..data.id ?> -
+ diff --git a/blog/views/default/post/posts.ls b/blog/views/default/post/posts.ls index 781c7f7..2beb399 100644 --- a/blog/views/default/post/posts.ls +++ b/blog/views/default/post/posts.ls @@ -32,7 +32,7 @@ local old_url = HTTP_ROOT.."/r:id:"..data.id ?> -
+