use noComments to determine comments render
This commit is contained in:
parent
d3ec050c59
commit
29f261e12a
|
@ -44,7 +44,7 @@
|
|||
{{- end }}
|
||||
</footer>
|
||||
|
||||
{{- if (.Param "comments") }}
|
||||
{{- if not (.Param "noComments") }}
|
||||
{{- partial "comments.html" . }}
|
||||
{{- end }}
|
||||
</article>
|
||||
|
|
Loading…
Reference in New Issue