🐛 Fixed the comment setting in front matter.

This commit is contained in:
凡梦星尘
2022-10-30 21:04:08 +08:00
parent 7c9b834729
commit f84d590023
5 changed files with 16 additions and 10 deletions

View File

@@ -1,7 +1,9 @@
<div class="tool-buttons" >
{{ if .Scratch.Get "isComment" }}
<div id="goto-comments" class="button goto-comments" title="{{ T "ToolBtns.comment" }}">
<i class="fas fa-comments"></i>
</div>
</div>
{{ end }}
{{ if .Site.Params.footer.translate }}
<div id="goto-gtranslate" class="button" title="{{ T "ToolBtns.lang" }}">
<i class="fas fa-globe"></i>