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);
if ($information->is_id == '278006460') {
$breadcrumb_structured_data_content = $this->load->view(
$template_path . '-structured-data-breadcrumb',
array('breadcrumb_data' => $breadcrumb_data, 'information' => $information),
true);
$template = str_replace(
'<!--@STRUCTURED-DATA-BREADCRUMB-BLOCK@-->',
$breadcrumb_structured_data_content,
$template);
}
$breadcrumb_structured_data_content = $this->load->view(
$template_path . '-structured-data-breadcrumb',
array('breadcrumb_data' => $breadcrumb_data, 'information' => $information),
true);
$template = str_replace(
'<!--@STRUCTURED-DATA-BREADCRUMB-BLOCK@-->',
$breadcrumb_structured_data_content,
$template);
//替换模板中的标签

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

@ -6,6 +6,10 @@
<meta name="keywords" content="<!--@KEYWORDS@-->">
<meta name="description" content="<!--@DESCRIPTION@-->">
<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">
<!--@OG:IMAGE@-->
<link rel="shortcut icon" href="//data.chinahighlights.com/favicon.ico">
@ -356,5 +360,6 @@
]
}
</script>
<!--@STRUCTURED-DATA-BREADCRUMB-BLOCK@-->
</body>
</html>
Loading…
Cancel
Save