From 45be6c8c240f7d1da9ae87e1a2c37970b46fc564 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 11 Nov 2021 14:00:05 +0800 Subject: [PATCH] =?UTF-8?q?GH=20=E5=A2=9E=E5=8A=A0=20addthis=20=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 4 ++-- application/views/mobile_first/gh-add-this.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 application/views/mobile_first/gh-add-this.php diff --git a/application/controllers/information.php b/application/controllers/information.php index 051959e4..292329b0 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -980,8 +980,8 @@ class Information extends CI_Controller $template_H1 = $this->load->view($template_path . '-h1', $data_H1, TRUE); $template = str_replace('', $template_H1, $template); -// $addthis_widget = $this->load->view($template_path . '-add-this', false, true); -// $template = str_replace('', $addthis_widget, $template); + $addthis_widget = $this->load->view($template_path . '-add-this', false, true); + $template = str_replace('', $addthis_widget, $template); $article_structured_data_content = $this->load->view( $template_path . '-structured-data-article', diff --git a/application/views/mobile_first/gh-add-this.php b/application/views/mobile_first/gh-add-this.php new file mode 100644 index 00000000..bc0f91f7 --- /dev/null +++ b/application/views/mobile_first/gh-add-this.php @@ -0,0 +1 @@ +