mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 04:08:34 +08:00
redirect alibaba.github.io/arthas to aliyun
This commit is contained in:
parent
74c313ecaa
commit
3ce077300b
@ -26,6 +26,12 @@
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<script>
|
||||
if (window.location.href.startsWith("https://alibaba.github.io/arthas/")) {
|
||||
window.location.href = "https://arthas.aliyun.com/doc/" + window.location.href.substr("https://alibaba.github.io/arthas/".length);
|
||||
}
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<!-- Optional JavaScript -->
|
||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||
|
@ -2,6 +2,12 @@
|
||||
{% set sticky_navigation = True %}
|
||||
{% set extra_css_files = ['_static/overrides.css'] %}
|
||||
{% block extrahead %}
|
||||
<script>
|
||||
if (window.location.href.startsWith("https://alibaba.github.io/arthas/")) {
|
||||
window.location.href = "https://arthas.aliyun.com/doc/" + window.location.href.substr("https://alibaba.github.io/arthas/".length);
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="{{ pathto('_static/center_page.js', 1) }}"></script>
|
||||
<link rel="stylesheet" href="https://g.alicdn.com/code/lib/highlight.js/9.13.1/styles/github.min.css">
|
||||
{{ super() }}
|
||||
|
Loading…
Reference in New Issue
Block a user