Use script to control comments container show.

This commit is contained in:
凡梦星尘
2022-07-22 18:35:04 +08:00
parent 31f6e21671
commit d42375820d
11 changed files with 97 additions and 95 deletions

View File

@@ -1,6 +1,5 @@
{{- $root := . -}}
{{- with .Site.Params.comments }}
{{- if .enable }}
{{- $tc := and .storage (gt (len .nav) 1) }}
{{- $active := .active }}
{{- $fc := .active }}
@@ -41,4 +40,3 @@
</div>
</div>
{{- end }}
{{- end }}