Merge branch 'master' of github.com:hainatravel/information-system into master

hotfix/paypal-note
candice 4 years ago
commit 69c14133ec

@ -589,16 +589,14 @@ class Information extends CI_Controller
$breadcrumb_data = $this->Information_model->get_path_exclude_self($information->is_id, $information->is_path); $breadcrumb_data = $this->Information_model->get_path_exclude_self($information->is_id, $information->is_path);
if ($information->is_id == '278006460') { $breadcrumb_structured_data_content = $this->load->view(
$breadcrumb_structured_data_content = $this->load->view( $template_path . '-structured-data-breadcrumb',
$template_path . '-structured-data-breadcrumb', array('breadcrumb_data' => $breadcrumb_data, 'information' => $information),
array('breadcrumb_data' => $breadcrumb_data, 'information' => $information), true);
true); $template = str_replace(
$template = str_replace( '<!--@STRUCTURED-DATA-BREADCRUMB-BLOCK@-->',
'<!--@STRUCTURED-DATA-BREADCRUMB-BLOCK@-->', $breadcrumb_structured_data_content,
$breadcrumb_structured_data_content, $template);
$template);
}
//替换模板中的标签 //替换模板中的标签

@ -12,14 +12,13 @@
<!--@OG:IMAGE@--> <!--@OG:IMAGE@-->
<link rel="canonical" href="<!--@CANONICAL@-->"> <link rel="canonical" href="<!--@CANONICAL@-->">
<link rel="shortcut icon" href="/favicon.ico"> <link rel="shortcut icon" href="/favicon.ico">
<link rel="preconnect" href="//data.chinahighlights.com"> <link rel="preconnect" href="https://data.chinahighlights.com">
<link rel="dns-prefetch" href="//data.chinahighlights.com"> <link rel="preconnect" href="https://images.chinahighlights.com">
<link rel="dns-prefetch" href="//images.chinahighlights.com"> <link rel="dns-prefetch" href="https://data.chinahighlights.com">
<link rel="dns-prefetch" href="//www.googletagmanager.com"> <link rel="dns-prefetch" href="https://images.chinahighlights.com">
<link rel="dns-prefetch" href="//www.googleadservices.com"> <link rel="dns-prefetch" href="/https:/www.googletagmanager.com">
<link rel="dns-prefetch" href="//www.google-analytics.com"> <link rel="dns-prefetch" href="https://www.googleadservices.com">
<link rel="dns-prefetch" href="//connect.facebook.net"> <link rel="dns-prefetch" href="https://www.google-analytics.com">
<link rel="dns-prefetch" href="//www.facebook.com">
<!--@MAIN-CSS@--> <!--@MAIN-CSS@-->
<!--@ADDON-CSS@--> <!--@ADDON-CSS@-->
<!-- Google Tag Manager --> <!-- Google Tag Manager -->

@ -6,6 +6,10 @@
<meta name="keywords" content="<!--@KEYWORDS@-->"> <meta name="keywords" content="<!--@KEYWORDS@-->">
<meta name="description" content="<!--@DESCRIPTION@-->"> <meta name="description" content="<!--@DESCRIPTION@-->">
<link rel="canonical" href="<!--@CANONICAL@-->"> <link rel="canonical" href="<!--@CANONICAL@-->">
<link rel="preconnect" href="https://data.chinahighlights.com">
<link rel="preconnect" href="https://images.chinahighlights.com">
<link rel="dns-prefetch" href="https://data.chinahighlights.com">
<link rel="dns-prefetch" href="https://images.chinahighlights.com">
<meta content="width=device-width,minimum-scale=1,initial-scale=1" name="viewport"> <meta content="width=device-width,minimum-scale=1,initial-scale=1" name="viewport">
<!--@OG:IMAGE@--> <!--@OG:IMAGE@-->
<link rel="shortcut icon" href="//data.chinahighlights.com/favicon.ico"> <link rel="shortcut icon" href="//data.chinahighlights.com/favicon.ico">
@ -356,5 +360,6 @@
] ]
} }
</script> </script>
<!--@STRUCTURED-DATA-BREADCRUMB-BLOCK@-->
</body> </body>
</html> </html>
Loading…
Cancel
Save