some layout and design changes for comments block

This commit is contained in:
2024-01-14 17:31:17 +05:30
parent 39f6ae0d67
commit 3b26accd52
106 changed files with 404 additions and 269 deletions

View File

@@ -41,6 +41,14 @@
{{- else }}{{ .Content }}{{ end }}
</div>
{{- end }}
{{- if (.Param "comments") }}
<br>
<details>
<summary class="post-comment">View comments</summary>
{{- partial "comments.html" . }}
</details>
{{- end }}
<footer class="post-footer">
{{- $tags := .Language.Params.Taxonomies.tag | default "tags" }}
@@ -60,12 +68,6 @@
<hr>
{{- partial "openring.html" . }}
{{- if (.Param "comments") }}
<details>
<summary>Comments</summary>
{{- partial "comments.html" . }}
</details>
{{- end }}
</article>
{{- end }}{{/* end main */}}