mirror of https://github.com/luizdepra/hugo-coder.git

retiolus
26.50.2024 97173eab947b29f8499dc125a6719f7b8a00d235
refs
author retiolus <65604466+retiolus@users.noreply.github.com>
Friday, January 26, 2024 01:50 +0100
committer GitHub <noreply@github.com>
Friday, January 26, 2024 01:50 +0100
commit97173eab947b29f8499dc125a6719f7b8a00d235
tree b3103ce2fcbaf8cf5457e390cd9c364269734f12 tree | zip | gz
parent 943d8597b5aa37f3ee23905c5c85e2ca4f0ed455 view | diff
Implement Mastodon comments (#802)

### Prerequisites

Put an `x` into the box(es) that apply:

- [ ] This pull request fixes a bug.
- [ x] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

Implements Mastodon comments with Carl Schwan solution:
https://carlschwan.eu/2020/12/29/adding-comments-to-your-static-blog-with-mastodon/

This allow to link post with a Mastodon toot, comments on the Mastodon
toot will be displayed on the post footer.

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [ x] Describe what changes are being made
- [ x] Explain why and how the changes were necessary and implemented
respectively
- [ ] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [ ] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [ ] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
3 files added
2 files modified
186 ■■■■■ changed files
assets/js/purify.min.js 3 ●●●●● diff | view | raw | blame | history
assets/scss/_mastodon.scss 73 ●●●●● diff | view | raw | blame | history
assets/scss/coder.scss 3 ●●●● diff | view | raw | blame | history
layouts/partials/posts/mastodon.html 106 ●●●●● diff | view | raw | blame | history
layouts/posts/single.html 1 ●●●● diff | view | raw | blame | history