trying a different approach with details/summary and comments

This commit is contained in:
2024-01-14 16:58:23 +05:30
parent a3d08482e5
commit 39f6ae0d67
106 changed files with 269 additions and 685 deletions

View File

@@ -61,7 +61,10 @@
{{- partial "openring.html" . }}
{{- if (.Param "comments") }}
{{- partial "comments.html" . }}
<details>
<summary>Comments</summary>
{{- partial "comments.html" . }}
</details>
{{- end }}
</article>

View File

@@ -1,5 +1,2 @@
{{"<!-- begin comments //-->" | safeHTML}}
<section id = "isso-thread">
</section>
{{"<!-- end comments //-->" | safeHTML}}
<script data-isso="https://comments.siddharthagolu.com/" src="https://comments.siddharthagolu.com/js/embed.min.js"></script>
<section id = "isso-thread"></section>

View File

@@ -1,4 +0,0 @@
<details>
<summary>Comments</summary>
<script data-isso="https://comments.siddharthagolu.com/" src="https://comments.siddharthagolu.com/js/embed.min.js"></script>
</details>