Made it so you always start scrolled down in the history aswell
This commit is contained in:
parent
aeef1de16e
commit
962efc3af8
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "greeter.html" .}}
|
{{ partial "greeter.html" .}}
|
||||||
|
<script>
|
||||||
|
history.pushState(null, "", window.location.origin + "/#homepage-header")
|
||||||
|
</script>
|
||||||
<header id="homepage-header" class="homepage-header">
|
<header id="homepage-header" class="homepage-header">
|
||||||
<div class="flex-wrap-container" style="align-items:center">
|
<div class="flex-wrap-container" style="align-items:center">
|
||||||
{{ $logo := (resources.Get "/img/logo.png").Resize "100x100" }}
|
{{ $logo := (resources.Get "/img/logo.png").Resize "100x100" }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue