💄 Add new tool buttons in page side.
This commit is contained in:
@@ -1,9 +1,22 @@
|
||||
{{- if and .Site.Params.backTop.enable (not .Site.Params.backTop.sidebar) }}
|
||||
<div class="back-to-top" role="button" aria-label="{{ T "BackTopLabel" }}">
|
||||
<div class="tool-buttons" >
|
||||
<a id="goto-comments" class="button goto-comments" href="#comments" title="{{ T "ToolBtns.comment" }}">
|
||||
<i class="fas fa-comments"></i>
|
||||
</a>
|
||||
<div class="button" title="{{ T "ToolBtns.theme" }}">
|
||||
<i class="fas fa-adjust"></i>
|
||||
</div>
|
||||
{{ if .Site.Params.footer.translate }}
|
||||
<a class="button" href="#google_translate_element" title="{{ T "ToolBtns.lang" }}">
|
||||
<i class="fas fa-globe"></i>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{- if and .Site.Params.backTop.enable (not .Site.Params.backTop.sidebar) }}
|
||||
<div class="back-to-top" role="button" title="{{ T "ToolBtns.backTop" }}">
|
||||
<i class="fa fa-arrow-up"></i>
|
||||
<span>0%</span>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
|
||||
{{- if .Site.Params.readingProgress.enable }}
|
||||
<div class="reading-progress-bar"></div>
|
||||
|
||||
Reference in New Issue
Block a user