Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ued
/
yohogirls_mustache
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
10 years ago
Commit
6911e434c5bdd7d73b3baeffbfbdda4c216ff007
1 parent
946e983a
modify detail page layout to add auto switch redirect pc or html5 page
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
partials/layout/writer_header320.html
partials/layout/writer_header_hk320.html
partials/layout/writer_header320.html
View file @
6911e43
...
...
@@ -15,6 +15,7 @@
<meta
name=
"googlebot"
content=
"index, follow"
/>
<meta
name=
"google-site-verification"
content=
"6IS8pD7H0L0FBqjE6XZIx-x02Pa2fmG0P2ZEb3xNiVY"
/>
<meta
property=
"wb:webmaster"
content=
"5ffc4cd75e724a17"
/>
<script
type=
"text/javascript"
>
if
(
window
.
location
.
href
.
indexOf
(
".html"
)
!==-
1
){
var
ua
=
navigator
.
userAgent
;
var
ipad
=
ua
.
match
(
/
(
iPad
)
.*OS
\s([\d
_
]
+
)
/
),
isIphone
=!
ipad
&&
ua
.
match
(
/
(
iPhone
\s
OS
)\s([\d
_
]
+
)
/
),
isAndroid
=
ua
.
match
(
/
(
Android
)\s
+
([\d
.
]
+
)
/
),
isPc
=!
ipad
&&!
isIphone
&&!
isAndroid
;
if
(
isPc
){
window
.
location
.
href
=
window
.
location
.
href
.
replace
(
"mobile"
,
"index"
);}}
</script>
{{# isDetail}}
<meta
property=
"fb:app_id"
content=
"{{app_id}}"
/>
<meta
property=
"og:site_name"
content=
"{{site_name}}"
/>
...
...
partials/layout/writer_header_hk320.html
View file @
6911e43
...
...
@@ -15,6 +15,7 @@
<meta
name=
"googlebot"
content=
"index, follow"
/>
<meta
name=
"google-site-verification"
content=
"6IS8pD7H0L0FBqjE6XZIx-x02Pa2fmG0P2ZEb3xNiVY"
/>
<meta
property=
"wb:webmaster"
content=
"5ffc4cd75e724a17"
/>
<script
type=
"text/javascript"
>
if
(
window
.
location
.
href
.
indexOf
(
".html"
)
!==-
1
){
var
ua
=
navigator
.
userAgent
;
var
ipad
=
ua
.
match
(
/
(
iPad
)
.*OS
\s([\d
_
]
+
)
/
),
isIphone
=!
ipad
&&
ua
.
match
(
/
(
iPhone
\s
OS
)\s([\d
_
]
+
)
/
),
isAndroid
=
ua
.
match
(
/
(
Android
)\s
+
([\d
.
]
+
)
/
),
isPc
=!
ipad
&&!
isIphone
&&!
isAndroid
;
if
(
isPc
){
window
.
location
.
href
=
window
.
location
.
href
.
replace
(
"mobile"
,
"index"
);}}
</script>
{{# isDetail}}
<meta
property=
"fb:app_id"
content=
"{{app_id}}"
/>
<meta
property=
"og:site_name"
content=
"{{site_name}}"
/>
...
...
Please
register
or
login
to post a comment