Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support isso comment system #745

Open
mdosch opened this issue May 9, 2024 · 1 comment
Open

Support isso comment system #745

mdosch opened this issue May 9, 2024 · 1 comment

Comments

@mdosch
Copy link

mdosch commented May 9, 2024

Thank you for this lightweight and simple blogging platform.
I would appreciate if you could add support for isso: https://github.com/isso-comments/isso

@danpros
Copy link
Owner

danpros commented May 9, 2024

Hello,

If you already have isso server running than we just need to modify 2 files: main.html.php (the index file) if you need to display the comments count and post.html.php (individual blog post).

Reading from their docs. Add below script in main.html.php and post.html.php:

<script data-isso="//comments.example.tld/"
        src="//comments.example.tld/js/embed.min.js"></script>

For comment counter:

<a href="<?php echo $p->url;?>#isso-thread">Comments</a>

For comment form:

<section id="isso-thread">
    <noscript>Javascript needs to be activated to view comments.</noscript>
</section>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants