feat(fixed-btns): add title for fixed buttons (#176)

This commit is contained in:
Dillon
2020-03-17 02:03:36 +08:00
committed by GitHub
parent 0ca8a4c85b
commit 80db783396
9 changed files with 53 additions and 29 deletions

View File

@@ -58,11 +58,16 @@
{{- partial "footer.html" . -}}
</div>
<div id="fixed-btn-container">
<div id="fixed-buttons" class="animated faster">
{{- /* top button */ -}}
<a href="#" id="top-button" class="fixed-button animated faster">
<a href="#" id="top-button" class="fixed-button" title="{{ T `backToTop` }}">
<i class="fas fa-arrow-up fa-fw"></i>
</a>
{{- /* comment button */ -}}
<a href="#" id="comment-button" class="fixed-button" title="{{ T `viewComments` }}">
<i class="fas fa-comment fa-fw"></i>
</a>
</div>
{{- /* Load JavaScript scripts and CSS */ -}}