Nouvelle version avec commentaires

This commit is contained in:
Stéphan Peccini 2025-06-18 17:11:55 +02:00
parent 91b483c2f6
commit 0bc71bec67
Signed by: stephan
GPG Key ID: 3A9774E9CCBF3501
3 changed files with 20 additions and 1 deletions

View File

@ -3,3 +3,18 @@ article img {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.comments-box {
border: 1px solid #ccc;
padding: 1.5rem;
margin-top: 2rem;
border-radius: 8px;
background-color: #f9f9f9;
}
.comments-box h2 {
margin-top: 0;
font-size: 1.4rem;
border-bottom: 1px solid #ddd;
padding-bottom: 0.5rem;
}

View File

@ -14,6 +14,7 @@
</footer> </footer>
{{ end }} {{ end }}
</article> </article>
<hr />
{{ partial "comments.html" . }} {{ partial "comments.html" . }}
</div> </div>
</main> </main>

View File

@ -1,2 +1,5 @@
<div class="comments-box">
<h2>Commentaires</h2>
<section id="isso-thread"></section> <section id="isso-thread"></section>
</div>
<script data-isso="/isso/" src="/isso/js/embed.min.js"></script> <script data-isso="/isso/" src="/isso/js/embed.min.js"></script>