Skip to content

Commit

Permalink
Move backtotop to baseof.html
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa committed Mar 27, 2023
1 parent 4d6627d commit a8ab255
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
{{ block "main" . }}
{{ end }}

<!-- Back To Top Button -->
<div id="backtotop"><a href="#"></a></div>

{{ partial "javascript.html" . }}
</body>
</html>
3 changes: 0 additions & 3 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
{{ partial "footer.html" . }}
{{ end }}

<!-- Back To Top Button -->
<div id="backtotop"><a href="#"></a></div>

{{ if .Params.sidebar }}
{{ partial "single/sidebar.html" . }}
{{ end }}
Expand Down
3 changes: 0 additions & 3 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
{{ partial "footer.html" . }}
{{ end }}

<!-- Back To Top Button -->
<div id="backtotop"><a href="#"></a></div>

{{ if .Site.Params.sidebar }}
{{ partial "sidebar.html" . }}
{{ end }}
Expand Down

0 comments on commit a8ab255

Please sign in to comment.