Skip to content

Commit

Permalink
docs: fix header to head (#152)
Browse files Browse the repository at this point in the history
* Update 404.html

* Update index.html

* Update 404.html

* Apply suggestions from code review
  • Loading branch information
afc163 authored Nov 9, 2023
1 parent 2da7b08 commit 43ccb50
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
18 changes: 8 additions & 10 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<!DOCTYPE html>
<html>
<header>
<script> window.location.replace(window.location.href.replace(window.location.host,'antv.antgroup.com'))</script>
</header>
<body>

<h1>AntV 官网</h1>

<p><a title="L7 官网" href="https://antv.antgroup.com/">AntV 官网</a></p>

</body>
<head>
<script> window.location.replace(window.location.href.replace(window.location.host,'antv.antgroup.com'))</script>
</head>
<body>
<h1>AntV 官网</h1>
<p><a title="L7 官网" href="https://antv.antgroup.com/">AntV 官网</a></p>
</body>
</html>
20 changes: 9 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<!DOCTYPE html>
<html>
<header>
<script> window.location.replace(`https://antv.antgroup.com/`)</script>
</header>
<body>

<h1>AntV 官网</h1>

<p><a title="AntV 官网" href="https://antv.antgroup.com/">AntV 官网</a></p>

</body>
</html>
<head>
<script> window.location.replace(`https://antv.antgroup.com/`)</script>
</head>
<body>
<h1>AntV 官网</h1>
<p><a title="AntV 官网" href="https://antv.antgroup.com/">AntV 官网</a></p>
</body>
</html>

0 comments on commit 43ccb50

Please sign in to comment.