diff options
author | Dillon <dillonzq@outlook.com> | 2020-03-16 21:03:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 21:03:36 +0300 |
commit | 80db7833963a0b43bcca86cecfb7eb83a6e1aa50 (patch) | |
tree | 38eb76abc31f23479a6ddbf5ab694f6e135fb549 /layouts | |
parent | 0ca8a4c85ba198b0614f360fe38145371b78fd80 (diff) |
feat(fixed-btns): add title for fixed buttons (#176)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9a50e83..4a945a0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -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 */ -}} |