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