mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-17 05:28:31 -04:00
Add comments section
This commit is contained in:
parent
b92d5dbe59
commit
332cb02385
|
@ -13,5 +13,9 @@
|
|||
</div>
|
||||
</header>
|
||||
{{- .Content -}}
|
||||
|
||||
{{- if (.Param "comments") }}
|
||||
{{- partial "comments.html" . }}
|
||||
{{- end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
3
layouts/partials/comments.html
Normal file
3
layouts/partials/comments.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{- /* Comments area start */ -}}
|
||||
{{- /* to add comments read => https://gohugo.io/content-management/comments/ */ -}}
|
||||
{{- /* Comments area end */ -}}
|
Loading…
Reference in a new issue