18 Commits

Author SHA1 Message Date
Philipp Oppermann
e4316a8a16 Enable translations of the comment note 2024-02-08 19:31:34 +01:00
Philipp Oppermann
3eeb25c946 Enable translations of the 'Support Me' section 2024-02-08 19:27:16 +01:00
Philipp Oppermann
87d0ce5fa2 Add in:title qualifier for discussion links
Reduces the number of false positives in search.
2023-09-14 20:23:53 +02:00
Philipp Oppermann
f0fe3929ab Fix: Use correct category ID for comment threads of translated posts 2023-06-25 14:12:40 +02:00
Philipp Oppermann
87794f2240 Translate the giscus comment system 2022-06-07 10:50:35 +02:00
Philipp Oppermann
eeac9e880c Fix swapped if/else in comment thread selection 2022-06-07 10:14:12 +02:00
Philipp Oppermann
b05c07d21c Move comment threads for translated posts to separate category
Avoids that a search for the post title returns a thread for a translated post.
2022-06-07 10:06:48 +02:00
Philipp Oppermann
c7eced8b49 Use proper HTML escaping for GitHub discussions link 2022-01-23 17:53:12 +01:00
Philipp Oppermann
6b241de81b Fix HTML encoding of GitHub discussions link 2022-01-23 17:39:37 +01:00
Philipp Oppermann
b24122a604 Remove dark mode warning again
There weren't any problems reported, so I guess it looks okay.
2022-01-23 17:30:06 +01:00
Philipp Oppermann
d6bf1b2271 Revert "Use onload handler to set giscus theme as soon as it's loaded"
This reverts commit 7eb1426e1f.
2021-10-17 18:35:45 +02:00
Philipp Oppermann
7eb1426e1f Use onload handler to set giscus theme as soon as it's loaded 2021-10-17 18:31:40 +02:00
Philipp Oppermann
d8c27c7fcc Add a note that dark mode is experimental 2021-10-16 17:27:33 +02:00
Philipp Oppermann
5654201a09 Add note above comments and link to GitHub discussion 2021-10-16 15:20:12 +02:00
Philipp Oppermann
963eb3e659 Make it possible to set discussion thread manually per post 2021-06-12 16:52:18 +02:00
Philipp Oppermann
47292beaad giscus: Use specific search term instead of og:title
This makes us more flexible and gives us ways to avoid title collisions (e.g. when the title on an extra post is a substring of some post title).
2021-06-12 16:35:20 +02:00
Philipp Oppermann
a46c20ef93 Switch comments from utterances to giscus
to use GitHub discussions instead of issues for comment threads.
2021-06-12 16:12:38 +02:00
Philipp Oppermann
aa227c7dc6 Restructure macros
- Split macros.html in per-edition files
- Create new snippets.html macro file with utterances snippet
- Move support.html to snippets.html as new macro
- Create new `latest_post` macro in 2nd edition macros.html
2021-01-02 18:09:06 +01:00