Commit Graph

49 Commits

Author SHA1 Message Date
694479bcdb Improved comments (see changelog) 2024-10-23 04:35:15 +03:00
26b12aadf6 Rewrite half the theme to make Mozilla observatory more happy about strict CSP 2024-10-18 18:16:38 +03:00
8bf69a5d71 The big shortcode cleanup 2024-10-17 17:00:35 +03:00
aa43730750 Adjust strings to make translation to specific languages possible (#100) 2024-10-05 17:15:31 +03:00
bd572912bd Add support for pagination (fixes #81) 2024-09-19 22:11:56 +03:00
b5a7653bfe Allow opening original attachment by clicking 2024-09-11 19:22:38 +03:00
4722ee54cd Remove QR code hover state
It wasn't very useful since it scans just fine at this size
2024-09-09 19:51:40 +03:00
87df5f3ce1 Add hover state to comments QR code for easier scanning 2024-09-06 20:02:59 +03:00
971148b3d6 Smaller comments QR size by using png instead of gif 2024-09-06 19:31:37 +03:00
31a84473ba Improve comments styles, use more fitting cursors 2024-08-30 06:42:22 +03:00
5325d17667 Display status if there's no comments 2024-08-08 05:56:48 +03:00
f1b90e3b23 Turn on lazy images for testing 2024-08-02 04:40:35 +03:00
350e5378b0 Add title to copy button and qr code 2024-07-31 05:21:46 +03:00
16762b4bc4 Images can be lazy as well! (fixes #39) 2024-07-29 17:47:26 +03:00
7c176c09d2 Set rel attributes to links (fixes #40) 2024-07-29 17:18:25 +03:00
bbbf1d1967 Support more media attachment types in comments
Types taken from
https://github.com/dpecos/mastodon-comments/blob/master/mastodon-comments.js
2024-07-21 22:46:11 +03:00
8b200e577d Support comment img/video attachments (fixes #30) 2024-07-20 21:03:05 +03:00
0866d0725b Make more XHTML5 compliant in theory (fixes #31) 2024-07-19 22:26:15 +03:00
425de4235d Allow reloading comments (fixes #32) 2024-07-19 21:54:07 +03:00
e8cc17a4a0 A11y improvements and style tweaks
- Use button element instead of anchors, fixes keyboard navigation and
other issues
- Disable search input until it's open, prevents being able to write
inside it while it's closed
- Use :root instead of html in CSS
- Add minimal size for separator between home button and other links
2024-07-16 23:42:46 +03:00
c3466f9810 Add l10n strings for comments QR code alt text 2024-07-09 01:06:03 +03:00
6f9c51fa5d Make the default locale en_US instead of en_IE
en_US is way more common and usual for most people than the weird
European en_IE (I do like it but that's just me)
2024-06-30 21:02:01 +03:00
b7ce98f381 Omit old-style type attributes 2024-06-30 06:12:55 +03:00
b157f81a07 Allow making posts "featured", tweak article list styles 2024-06-22 06:29:52 +03:00
fe6de0eb17 Deprecate the animated_favicon variable
APNG seems to be well supported so it's not needed I guess
2024-06-21 20:39:43 +03:00
238f84de30 Make dates respect current locale (deprecations!)
And make comments use it in a smart way (it's not but it works)

Deprecate "extra.date_format" and "extra.comments.locale" and replace it
with "date_format" and "date_locale" in translation files
2024-06-20 19:26:12 +03:00
13fad928f7 Rename translation keys 2024-06-20 10:19:27 +03:00
37e0939391 Continue previous commit 2024-06-20 09:03:46 +03:00
40b1895618 Redo the translation system (steal from tabi) 2024-06-20 08:42:24 +03:00
17634a94da Add "open post" button to comments
Since I started working on the i18n support, comments lost it's previous
link to the post, so it's been added back in a form of an actual button
2024-06-18 06:08:18 +03:00
dab00bd98c Make more strings translatable (I hate how i18n is handled in Zola) 2024-06-17 07:33:32 +03:00
88cf05a654 Fix nav active indicator, remove useless default values 2024-06-16 05:20:06 +03:00
7bb9b19e77 Make previous commit actually work
This is a huge mess, Zola is really not i18n-friendly
2024-06-16 04:57:51 +03:00
a4a68c8b61 Initial work on adding i18n support, drop footer link support (breaking change!) 2024-06-15 22:36:03 +03:00
9eee1bc77d Move the rest of the icons to CSS mask
This way user can change the icon without overriding the template
itself, plus it's cleaner this way
2024-06-13 17:15:35 +03:00
d93bb90561 Custom focus indicator and accessebility fixes 2024-05-29 03:39:59 +03:00
a108cc7501 Fancier hr, goatcounter analytics, simplify bg-color variable, add default value for the locale setting 2024-05-16 17:20:34 +03:00
34ebf5a6dc Add drfated and archived badges in blog list, use archive icon for archived statement, remove ellipsis form load comments button 2024-04-29 17:05:11 +03:00
41ff1c4748 Some improvements to the config (breaking changes!)
- Remove support for per-page/section emoji favicon (breaking change!)
- Update copyright year
- Improve code comments in config
- Introduce a new configuration variable: locale; used for defining comment timestamp locale
- Fix code blocks having every other line being darker in some complex cases (unset leftover styles from "table")
- Fix code block "mark" having an edge highlight (leftover style from "mark")
- Use get_url for code block styles
- Always use png favicon as a fallback
- Get rid of transparency and roundness in apple-touch-icon (as recommended by 🤮pple)
2024-04-21 20:44:52 +03:00
5e6693e3d6 Use button instead of a link on 404, add cursor style, fix capitalisation 2024-04-04 01:20:25 +03:00
d999241592 Minor formatting fix 2024-03-30 23:09:54 +03:00
31aeba8ec3 Improve explanation text for comments, make abbr dotted again 2024-03-30 23:00:33 +03:00
ecbf5f96eb Spin boosts/faves icon on hover (more fun!) 2024-03-30 22:27:43 +03:00
1dd9b457ca Revert back to using goqr.me API for comment QR
DDG doesn't seem to work in "production" for some reason, while it works
perfectly fine locally :/
2024-03-30 21:38:06 +03:00
7f1b6b4abd Use DDG for QR code, fix #14 and #16 2024-03-27 05:16:41 +03:00
21dc1ed7b1 Use SVG icons for boosts/faves
And yeah I returned the boosts, and faves is now a star to match what
masto/akkoma does
2024-02-27 21:50:58 +03:00
d0eaa63568 Change indenting to 1 tab (4 spaces)
It's more readable this way
2024-02-27 18:38:23 +03:00
e03bfb8298 Less mastodon-centric wording (e.g Akkoma and Sharkey can be used for comments just fine) 2024-02-12 22:32:01 +03:00
ae977db857 Add type for favicons, chnage includes to partials 2024-02-11 11:15:15 +03:00