Commit Graph

67 Commits

Author SHA1 Message Date
19e976375c Use code block header if copy button is enabled
Now copy button doesn't cover the code, because it's not on top of it!
2024-07-18 01:55:09 +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
70d7a0ee0e Nuh uh, can be easily done with custom css 2024-07-15 04:10:12 +03:00
0d3c539880 Allow setting different primary color for dark mode 2024-07-15 01:30:31 +03:00
6615b14471 Change copy code button color depending on whether it has light/dark variant 2024-07-14 05:57:46 +03:00
26aea8cf46 Trim whitespace in more places 2024-07-13 22:57:02 +03:00
c3466f9810 Add l10n strings for comments QR code alt text 2024-07-09 01:06:03 +03:00
5ab1557a93 Make the search bar visually part of the navbar
Plus make it nicer structucally
2024-07-05 06:43:45 +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
7ebac23811 Bump minimal Zola version, make primary color non-essential 2024-06-30 03:10:19 +03:00
3eaa81e755 Add search support
Only supports elasticlunr_json
2024-06-30 02:58:34 +03:00
494cb5474f Multiple feeds support introduced in Zola v0.19.0 2024-06-27 04:25:07 +03:00
e2a03a455d Use custom domain: duckquill.daudix.one 2024-06-22 22:54:00 +03:00
b157f81a07 Allow making posts "featured", tweak article list styles 2024-06-22 06:29:52 +03:00
6c092ad49d Improve favicon loading logic, add language meta tag 2024-06-21 21:13:53 +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
8e77b6f931 Smart syntax highlighting theme loading 2024-06-20 09:52:50 +03:00
7b7b89b366 Remove leftover code 2024-06-20 09:10:24 +03:00
84a5028c89 Allow settings custom copyright 2024-06-20 09:09: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
7691b260a3 Fix missing labels (a11y)
Additionally add some missing translations
2024-06-20 06:48:56 +03:00
06abedb4b0 Fun footer links (Powered by Zola and Duckquill) 2024-06-20 03:32:05 +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
dce877ff85 Return footer links, with a bit different style 2024-06-18 04:02:52 +03:00
dab00bd98c Make more strings translatable (I hate how i18n is handled in Zola) 2024-06-17 07:33:32 +03:00
f7dcab6c1d Add language switcher
It's a bit WET but hey, better than nothing I guess
2024-06-16 05:59:33 +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
c12b8caa76 Drop support for johnverts (out of scope) 2024-06-11 17:27:38 +03:00
f2644b9b5c Get rid of the mobile menu
It wasn't as good as I would like it to be
2024-06-10 17:04:02 +03:00
1a51a28945 Mhm 2024-06-09 19:42:41 +03:00
a69c24ef0a Links menu in nav on mobile, DRY-er icon styles 2024-06-09 00:29:17 +03:00
d93bb90561 Custom focus indicator and accessebility fixes 2024-05-29 03:39:59 +03:00
0b9ea98cba Allow loading additional scripts (hopefully people won't do anything horrible with this) 2024-05-27 22:11:03 +03:00
a08d719088 Active navbar link indicator 3000
Totally not inspired by Discord
2024-05-27 01:33:51 +03:00
b32c51b71a Make source_url and issues_url optional and adapt content if not set 2024-05-21 16:23:18 +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
5b6ea6904c Revert "Convert colors to the superiour format (HSL)"
This reverts commit dad3e18d81.
2024-05-13 03:22:52 +03:00
dad3e18d81 Convert colors to the superiour format (HSL)
Still need to figure out how to make sure it's sompiled to rgb everywhere
2024-05-13 01:05:49 +03:00
3f87d78b33 Add optional copy code button! 2024-05-09 22:01:25 +03:00
86cc9a7ff3 Improve footer socials hoover state, make the structure cleaner 2024-05-04 22:41:35 +03:00
8aa03d03fa Rewrite footer to support links and socials, tweak heading sizes, deprecate page/site links and replace with "external" class, change discalimer heading from plural to singular 2024-05-02 17:58:27 +03:00
af84b56ede Make the navbar non-mandatory
I can imagine duckquill being used for one-page sites that simply don't need it, plus we can get rid of one more variable from theme.toml
2024-05-02 00:32:32 +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