switch js
This commit is contained in:
parent
2e7c76578d
commit
3177ee4d50
1 changed files with 2 additions and 9 deletions
11
build.py
11
build.py
|
@ -49,18 +49,11 @@ def main():
|
|||
<meta name="flattr:id" content="z3d26l" />
|
||||
<meta name="viewport" content="initial-scale=1,width=device-width" />
|
||||
<link rel="stylesheet" href="index.css" />
|
||||
<script src="index.js"></script>
|
||||
<title>Marc Beninca</title>
|
||||
|
||||
<!----------------------------------------------------------------------------->
|
||||
</head><script>
|
||||
<!----------------------------------------------------------------------------->
|
||||
function main() {{
|
||||
if (! window.location.href.includes('#')) {{
|
||||
window.location.href += '#main';
|
||||
}}
|
||||
}}
|
||||
<!----------------------------------------------------------------------------->
|
||||
</script><body onload="main();"><header>
|
||||
</head><body onload="main()"><header>
|
||||
<!----------------------------------------------------------------------------->
|
||||
|
||||
<h1><a href="#home">Marc Beninca</a></h1>
|
||||
|
|
Loading…
Reference in a new issue